projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbac321
)
build: allow KERNELNAME to contain multiple kernel make targets
author
Florian Fainelli
<florian@openwrt.org>
Mon, 18 Jun 2012 13:20:50 +0000
(13:20 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Mon, 18 Jun 2012 13:20:50 +0000
(13:20 +0000)
SVN-Revision: 32423
include/kernel-defaults.mk
patch
|
blob
|
history
diff --git
a/include/kernel-defaults.mk
b/include/kernel-defaults.mk
index c18d638337de25971009f8bd9bb54c09ba590113..b63092ac6bc0a97999adde1fe32d2aa146853b00 100644
(file)
--- a/
include/kernel-defaults.mk
+++ b/
include/kernel-defaults.mk
@@
-119,7
+119,7
@@
OBJCOPY_STRIP = -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.g
define Kernel/CompileImage/Default
$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init)
- +$(MAKE) $(KERNEL_MAKEOPTS) $(
KERNELNAME
)
+ +$(MAKE) $(KERNEL_MAKEOPTS) $(
subst ",,$(KERNELNAME)
)
$(KERNEL_CROSS)objcopy -O binary $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL)
$(KERNEL_CROSS)objcopy $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux.elf
endef