From 71b7ae5ca0bb15fd23ed12c051374c7206b027da Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 27 Jun 2013 19:58:16 +0000 Subject: [PATCH] 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 SVN-Revision: 37046 --- include/kernel-defaults.mk | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2