Update for initramfs handling

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4591 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gerry Rozema 2006-08-18 12:39:49 +00:00
parent daa69f4ebf
commit e573f27c29
1 changed files with 1 additions and 0 deletions

View File

@ -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