Kbuild.include: add function for unquoting strings
Useful for extracting values from CONFIG_* variables which are always quoted. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
27b5540118
commit
074b806f07
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@ baseprereq = $(basename $(notdir $<))
|
||||||
# Escape single quote for use in echo statements
|
# Escape single quote for use in echo statements
|
||||||
escsq = $(subst $(squote),'\$(squote)',$1)
|
escsq = $(subst $(squote),'\$(squote)',$1)
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
# Transform quoted string into a normal one
|
||||||
|
unquote = $(subst $\",,$(1))
|
||||||
|
|
||||||
###
|
###
|
||||||
# Easy method for doing a status message
|
# Easy method for doing a status message
|
||||||
kecho := :
|
kecho := :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue