aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-06-27 19:58:16 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-06-27 19:58:16 +0000
commit719741fd9577fc42b89ff85c1e42684f115ac4e8 (patch)
treeca25a6b1260c616f2d49f2bf4f27784aa366800a /include
parentd8836e5aeb9fdab7f945de0b0626bc5769c81726 (diff)
downloadmaster-187ad058-719741fd9577fc42b89ff85c1e42684f115ac4e8.tar.gz
master-187ad058-719741fd9577fc42b89ff85c1e42684f115ac4e8.tar.bz2
master-187ad058-719741fd9577fc42b89ff85c1e42684f115ac4e8.zip
buildroot: workaround broken syntax highlighting
GNU Make's subst is always breaking syntax highlighting with at least vim add the right comments to workaround it. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37046 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 9a4dd90ed5..8ad31dd73a 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -116,6 +116,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) $(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