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
master
Luka Perkov 2013-07-02 09:59:17 +00:00
parent 051b5a6dcf
commit 22f223033c
1 changed files with 1 additions and 1 deletions

View File

@ -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))
#")
#")