From: Luka Perkov Date: Tue, 2 Jul 2013 09:59:17 +0000 (+0000) Subject: include: fix path for kernel-generated cpio removal X-Git-Tag: reboot~10062 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=448decfa8e7f3f11715fdc77561c5651d126a45b;p=oweals%2Fopenwrt.git include: fix path for kernel-generated cpio removal Signed-off-by: Luka Perkov SVN-Revision: 37128 --- diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 607c8211b8..c6f02e6514 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -144,7 +144,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) define Kernel/CompileImage/Initramfs $(call Kernel/Configure/Initramfs) $(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)) #") #")