aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2004-10-17 05:55:32 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2004-10-17 05:55:32 +0200
commitdba423dee5e38c1918a3bf6fe923babaadfe5b49 (patch)
tree2bbaa8ed07763325e5e0ad257354b2efbe01f8ae /Makefile
parent3420779a0b3ce45a291707159b7e3781f11b9ca3 (diff)
downloadhistory-dba423dee5e38c1918a3bf6fe923babaadfe5b49.tar.gz
kbuild: use two double-quotes for localversion
Modifies LOCALVERSION definition such that it uses patsubst instead of subst to remove surrounding double quotes from CONFIG_LOCALVERSION. This helps syntax-highlighting editors. From: Tejun Heo <tj@home-tj.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7c43405502d940..ad9377f8dd4735 100644
--- a/Makefile
+++ b/Makefile
@@ -157,7 +157,7 @@ endif
LOCALVERSION = $(subst $(space),, \
$(shell cat /dev/null $(localversion-files)) \
- $(subst ",,$(CONFIG_LOCALVERSION)))
+ $(patsubst "%",%,$(CONFIG_LOCALVERSION)))
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)$(LOCALVERSION)