diff options
author | Luka Perkov <luka@openwrt.org> | 2013-07-02 09:59:17 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-07-02 09:59:17 +0000 |
commit | 448decfa8e7f3f11715fdc77561c5651d126a45b (patch) | |
tree | 392ca189d3c65d07298af4e2096b06d765897e3d | |
parent | e06ab3831b15caa14087e21c1321575099b2b567 (diff) | |
download | upstream-448decfa8e7f3f11715fdc77561c5651d126a45b.tar.gz upstream-448decfa8e7f3f11715fdc77561c5651d126a45b.tar.bz2 upstream-448decfa8e7f3f11715fdc77561c5651d126a45b.zip |
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.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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)) #") #") |