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 | 6de0939c3a96beddec75adebf0c0052810e404a3 (patch) | |
tree | a9abeb691471eeefb8d1ac451f84c62a22ddec36 /include | |
parent | cbac321164e8352e2f91da1340250f686855f0ed (diff) | |
download | mtk-20170518-6de0939c3a96beddec75adebf0c0052810e404a3.zip mtk-20170518-6de0939c3a96beddec75adebf0c0052810e404a3.tar.gz mtk-20170518-6de0939c3a96beddec75adebf0c0052810e404a3.tar.bz2 |
build: allow KERNELNAME to contain multiple kernel make targets
SVN-Revision: 32423
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 c18d638..b63092a 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 |