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
@rm -f $(BUILD_DIR)/linux
ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
@$(MAKE) modules
- @$(MAKE) packages
touch $@
$(KERNEL_IPKG):
@mkdir -p $(LINUX_DIR) $(PACKAGE_DIR)
compile: prepare $(LINUX_DIR)/.linux-compile
+ @$(MAKE) packages
install: compile $(LINUX_KERNEL)