aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-21 18:42:11 +0000
committerJohn Crispin <john@openwrt.org>2014-07-21 18:42:11 +0000
commit8295b1f7f2a67ad2e6a61e6fa633ec809e865703 (patch)
tree9bca8d205070996bfe3341d307a8c0aa7b197937 /include
parent7d8f187201d361e1c0059d18d7e0f119ae4b6472 (diff)
downloadupstream-8295b1f7f2a67ad2e6a61e6fa633ec809e865703.tar.gz
upstream-8295b1f7f2a67ad2e6a61e6fa633ec809e865703.tar.bz2
upstream-8295b1f7f2a67ad2e6a61e6fa633ec809e865703.zip
target/linux/*/image/Makefile: eliminate more LINUX_DIR users
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41792
Diffstat (limited to 'include')
-rw-r--r--include/kernel-defaults.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index f1f5a81313..da06abd0a5 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -140,6 +140,7 @@ endif
define Kernel/CopyImage
$(KERNEL_CROSS)objcopy -O binary $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL)$(1)
$(KERNEL_CROSS)objcopy $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).elf
+ $(CP) $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux.debug
ifneq ($(subst ",,$(KERNELNAME)),)
#")
$(foreach k,$(filter-out dtbs,$(subst ",,$(KERNELNAME))),$(CP) $(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/$(IMAGES_DIR)/$(k) $(KERNEL_BUILD_DIR)/$(k)$(1);)