aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-03-17 20:37:52 +0100
committerFelix Fietkau <nbd@nbd.name>2017-03-22 11:43:22 +0100
commit370d740647707f9caec915b5c1f5cb1a278b1d3b (patch)
tree6b9036ba313c891cdf3981523996e05c04492df9
parentfd93f81fd85e964a697a5f550f7f162e3ec1ca05 (diff)
downloadupstream-370d740647707f9caec915b5c1f5cb1a278b1d3b.tar.gz
upstream-370d740647707f9caec915b5c1f5cb1a278b1d3b.tar.bz2
upstream-370d740647707f9caec915b5c1f5cb1a278b1d3b.zip
kernel: do not try to copy vmlinux out of arch/$(ARCH)/boot
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-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 1c3b428b16..9fa5c1d3dd 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -152,7 +152,7 @@ define Kernel/CopyImage
$(KERNEL_CROSS)objcopy $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).elf; \
$(CP) $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).debug; \
$(foreach k, \
- $(if $(KERNEL_IMAGES),$(KERNEL_IMAGES),$(filter-out dtbs,$(KERNELNAME))), \
+ $(if $(KERNEL_IMAGES),$(KERNEL_IMAGES),$(filter-out vmlinux dtbs,$(KERNELNAME))), \
$(CP) $(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/$(IMAGES_DIR)/$(k) $(KERNEL_BUILD_DIR)/$(k)$(1); \
) \
}