include: fix path for kernel-generated cpio removal

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37128
This commit is contained in:
Luka Perkov 2013-07-02 09:59:17 +00:00
parent e06ab3831b
commit 448decfa8e

View file

@ -144,7 +144,7 @@ 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) $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init)
rm -rf $(KERNEL_BUILD_DIR)/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))
#") #")
#") #")