diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-02 09:59:17 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-02 09:59:17 +0000 |
commit | 0c68f04d26a82f79ebf516351cdd8a5a826dc26b (patch) | |
tree | 5b700980d844ff4524616217b6d6796eeb07601b | |
parent | a49ad7a7e68a723fbd0a29063dc321c7f7dd4bc7 (diff) |
include: fix path for kernel-generated cpio removal
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37128 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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)) #") #") |