[source] kernel: do not try to copy vmlinux out of arch/$(ARCH)/boot
LEDE Commits
lede-commits at lists.infradead.org
Wed Mar 22 03:43:50 PDT 2017
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/370d740647707f9caec915b5c1f5cb1a278b1d3b
commit 370d740647707f9caec915b5c1f5cb1a278b1d3b
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Mar 17 20:37:52 2017 +0100
kernel: do not try to copy vmlinux out of arch/$(ARCH)/boot
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
include/kernel-defaults.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 1c3b428..9fa5c1d 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); \
) \
}
More information about the lede-commits
mailing list