diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-06-18 13:20:50 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-06-18 13:20:50 +0000 |
commit | 812b0b0ade262976aa2a0e61b3888e09734ada8a (patch) | |
tree | c2167c359ac93d676ae30aafb1993f0ede0c5953 /include | |
parent | 07e87689fba4ce4bcc7db3afed6dff922a311ad2 (diff) | |
download | upstream-812b0b0ade262976aa2a0e61b3888e09734ada8a.tar.gz upstream-812b0b0ade262976aa2a0e61b3888e09734ada8a.tar.bz2 upstream-812b0b0ade262976aa2a0e61b3888e09734ada8a.zip |
build: allow KERNELNAME to contain multiple kernel make targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32423 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-defaults.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index c18d638337..b63092ac6b 100644 --- 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 |