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 | 22f223033c219599225fb47388329050d82cb851 (patch) | |
tree | 5b700980d844ff4524616217b6d6796eeb07601b /include | |
parent | 051b5a6dcffac9bed21431ffbed34f4b14457288 (diff) | |
download | upstream-22f223033c219599225fb47388329050d82cb851.tar.gz upstream-22f223033c219599225fb47388329050d82cb851.tar.bz2 upstream-22f223033c219599225fb47388329050d82cb851.zip |
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
Diffstat (limited to 'include')
-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)) #") #") |