Commit dba423de authored by Sam Ravnborg's avatar Sam Ravnborg

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 3420779a
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment