summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-07-02 09:59:17 +0000
committerLuka Perkov <luka@openwrt.org>2013-07-02 09:59:17 +0000
commit448decfa8e7f3f11715fdc77561c5651d126a45b (patch)
tree392ca189d3c65d07298af4e2096b06d765897e3d
parente06ab3831b15caa14087e21c1321575099b2b567 (diff)
downloadmtk-20170518-448decfa8e7f3f11715fdc77561c5651d126a45b.zip
mtk-20170518-448decfa8e7f3f11715fdc77561c5651d126a45b.tar.gz
mtk-20170518-448decfa8e7f3f11715fdc77561c5651d126a45b.tar.bz2
include: fix path for kernel-generated cpio removal
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37128
-rw-r--r--include/kernel-defaults.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 607c821..c6f02e6 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))
#")
#")