summaryrefslogtreecommitdiff
path: root/openwrt/include
diff options
context:
space:
mode:
authorGerry Rozema <groz@openwrt.org>2006-08-18 12:39:49 +0000
committerGerry Rozema <groz@openwrt.org>2006-08-18 12:39:49 +0000
commiteca439169141afa7609a346f99260e397485a981 (patch)
tree7c6601eb1f587b2e8067ae86225a1f3477e8435c /openwrt/include
parentcb3aaf3448e2f586f83739b1ac55f77cb5170109 (diff)
downloadmtk-20170518-eca439169141afa7609a346f99260e397485a981.zip
mtk-20170518-eca439169141afa7609a346f99260e397485a981.tar.gz
mtk-20170518-eca439169141afa7609a346f99260e397485a981.tar.bz2
Update for initramfs handling
SVN-Revision: 4591
Diffstat (limited to 'openwrt/include')
-rw-r--r--openwrt/include/kernel-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/include/kernel-build.mk b/openwrt/include/kernel-build.mk
index 5e45342..0ef00de 100644
--- a/openwrt/include/kernel-build.mk
+++ b/openwrt/include/kernel-build.mk
@@ -57,6 +57,7 @@ ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
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) ../generic-2.6/files/postinit $(BUILD_DIR)/root/
else
rm -f $(BUILD_DIR)/root/init $(BUILD_DIR)/root/etc/init.d/S00initramfs
echo 'CONFIG_INITRAMFS_SOURCE=""' >> $(LINUX_DIR)/.config