aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-06-30 17:09:21 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-06-30 17:09:21 +0000
commita30ef3735f0384af2cc891625ebfdb7df77cb6af (patch)
tree45c56873219ae6d7010e345a75d25a1ffb9fb9a7 /include
parentbc596430803175be80b55daf59eab2c77ee18afc (diff)
downloadupstream-a30ef3735f0384af2cc891625ebfdb7df77cb6af.tar.gz
upstream-a30ef3735f0384af2cc891625ebfdb7df77cb6af.tar.bz2
upstream-a30ef3735f0384af2cc891625ebfdb7df77cb6af.zip
buildroot: filter out dtbs KERNELNAME target (#13785)
Do not attempt to copy arch/$(LINUX_KARCH)/boot/dtbs because these are not real files, fixes #13785. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37107 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-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 7e807bfaff..ca520f55c9 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -128,7 +128,7 @@ define Kernel/CopyImage
$(KERNEL_CROSS)objcopy $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).elf
ifneq ($(subst ",,$(KERNELNAME)),)
#")
- $(foreach k,$(subst ",,$(KERNELNAME)),$(CP) $(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/$(IMAGES_DIR)/$(k) $(KERNEL_BUILD_DIR)/$(k)$(1);)
+ $(foreach k,$(filter-out dtbs,$(subst ",,$(KERNELNAME))),$(CP) $(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/$(IMAGES_DIR)/$(k) $(KERNEL_BUILD_DIR)/$(k)$(1);)
#")
endif
endef