kernel: fix remaining initramfs related breakage

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37518 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2013-07-23 13:11:41 +00:00
parent 44fd2b8d8e
commit 83506b9cf7
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ endif
endef endef
define Kernel/CompileImage/Default define Kernel/CompileImage/Default
$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init) rm -f $(TARGET_DIR)/init
+$(MAKE) $(KERNEL_MAKEOPTS) $(subst ",,$(KERNELNAME)) +$(MAKE) $(KERNEL_MAKEOPTS) $(subst ",,$(KERNELNAME))
#") #")
$(call Kernel/CopyImage) $(call Kernel/CopyImage)
@ -143,7 +143,7 @@ endef
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
define Kernel/CompileImage/Initramfs define Kernel/CompileImage/Initramfs
$(call Kernel/Configure/Initramfs) $(call Kernel/Configure/Initramfs)
$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init) $(CP) $(GENERIC_PLATFORM_DIR)/base-files/init $(TARGET_DIR)/init
rm -rf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/usr/initramfs_data.cpio* rm -rf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/usr/initramfs_data.cpio*
+$(MAKE) $(KERNEL_MAKEOPTS) $(subst ",,$(KERNELNAME)) +$(MAKE) $(KERNEL_MAKEOPTS) $(subst ",,$(KERNELNAME))
#") #")