aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-16 01:32:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-16 01:32:12 +0000
commit77e01959f42b459e34d19956028551e3b41e7d00 (patch)
treedc3b8dc7828ff96b4f1fb311ee5a5cbb9713259e /include
parentb5e0c5ea5f7192ae52592f91c9af5fc61b86f9cd (diff)
downloadupstream-77e01959f42b459e34d19956028551e3b41e7d00.tar.gz
upstream-77e01959f42b459e34d19956028551e3b41e7d00.tar.bz2
upstream-77e01959f42b459e34d19956028551e3b41e7d00.zip
fix path to generic init file when using a symlinked target support directory
SVN-Revision: 5805
Diffstat (limited to 'include')
-rw-r--r--include/kernel-build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 0d1965a01e..55e1b82ebd 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -110,7 +110,7 @@ ifeq ($(KERNEL),2.6)
echo 'CONFIG_INITRAMFS_ROOT_UID=0' >> $(LINUX_DIR)/.config
echo 'CONFIG_INITRAMFS_ROOT_GID=0' >> $(LINUX_DIR)/.config
mkdir -p $(BUILD_DIR)/root/etc/init.d
- $(CP) ../generic-2.6/files/init $(BUILD_DIR)/root/
+ $(CP) $(TOPDIR)/target/linux/generic-2.6/files/init $(BUILD_DIR)/root/
endef
else
define Kernel/SetInitramfs