diff options
author | John Crispin <blogic@openwrt.org> | 2014-07-21 18:42:11 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-07-21 18:42:11 +0000 |
commit | 8d8ae568448e5b6677d7a87a1033eb34e3cf6043 (patch) | |
tree | 0bf9b16a7fa779b9ee9c90a2d333997240462e12 /include | |
parent | b31d078c16f97674cfd531b4a180f26af6a305a2 (diff) | |
download | upstream-8d8ae568448e5b6677d7a87a1033eb34e3cf6043.tar.gz upstream-8d8ae568448e5b6677d7a87a1033eb34e3cf6043.tar.bz2 upstream-8d8ae568448e5b6677d7a87a1033eb34e3cf6043.zip |
target/linux/*/image/Makefile: eliminate more LINUX_DIR users
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41792 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-defaults.mk | 1 |
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);) |