diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-06-30 17:09:21 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-06-30 17:09:21 +0000 |
commit | bc7260a125dfca8855d22e17fd89e48bc865ed24 (patch) | |
tree | 57c3df0b6715455177198d5387b6622f15fb6bcd /include | |
parent | df7ce9301a25af8e94de92a519d51d1a27658be7 (diff) | |
download | mtk-20170518-bc7260a125dfca8855d22e17fd89e48bc865ed24.zip mtk-20170518-bc7260a125dfca8855d22e17fd89e48bc865ed24.tar.gz mtk-20170518-bc7260a125dfca8855d22e17fd89e48bc865ed24.tar.bz2 |
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>
SVN-Revision: 37107
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 7e807bf..ca520f5 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 |