diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-06-27 19:58:16 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-06-27 19:58:16 +0000 |
commit | b729d41d64a360ad4082c7a1e20a74d8c1c9e62e (patch) | |
tree | 00d49e9fea6c09ef818d38ba0eaf608a79d4ce8b /include/kernel-defaults.mk | |
parent | 36209234abd0f32b0d254d98fdce7e1b50978b3e (diff) | |
download | upstream-b729d41d64a360ad4082c7a1e20a74d8c1c9e62e.tar.gz upstream-b729d41d64a360ad4082c7a1e20a74d8c1c9e62e.tar.bz2 upstream-b729d41d64a360ad4082c7a1e20a74d8c1c9e62e.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>
SVN-Revision: 37046
Diffstat (limited to 'include/kernel-defaults.mk')
-rw-r--r-- | include/kernel-defaults.mk | 1 |
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 |