From: John Voltz Date: Fri, 21 Mar 2008 17:57:02 +0000 (-0000) Subject: kernel 2.6.24 creates a symlink to bzImage, which is copied inplace, symlink and... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2fe2a53ddb6a7c0f85250f458dd6f3e3ae6b03a;p=buildroot.git kernel 2.6.24 creates a symlink to bzImage, which is copied inplace, symlink and all, this gives an incorrect symlink deref in binaries/uclibc/ and points to ../../x86/bzImage. Do not copy symlink in place, follow it. Patch by Nigel Kukard. --- diff --git a/target/linux/Makefile.in b/target/linux/Makefile.in index 1d9f8595d4..8cbb9520ef 100644 --- a/target/linux/Makefile.in +++ b/target/linux/Makefile.in @@ -191,7 +191,7 @@ $(LINUX26_KERNEL): $(INITRAMFS_TARGET) $(BB_INITRAMFS_TARGET) \ $(LINUX26_DIR)/.depend_done $(MAKE) $(LINUX26_MAKE_FLAGS) \ -C $(LINUX26_DIR) $(LINUX26_FORMAT) - cp -dpf $(LINUX26_DIR)/$(LINUX26_BINLOC) $(LINUX26_KERNEL) + cp -pf $(LINUX26_DIR)/$(LINUX26_BINLOC) $(LINUX26_KERNEL) touch -c $@ $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/modules.dep: $(LINUX26_DIR)/.configured