summaryrefslogtreecommitdiffstats
path: root/rules/other
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-06-10 00:48:13 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-06-10 00:48:13 +0000
commit8ecc503c3887c0ac9f8954a2b20b09d9645e0ae5 (patch)
tree7a228a92c9a9057367a595e04f6870a44b5ac7af /rules/other
parentac5a78a14f2f2d0a34a0251e5220a92ac55f5e48 (diff)
downloadptxdist-8ecc503c3887c0ac9f8954a2b20b09d9645e0ae5.tar.gz
ptxdist-8ecc503c3887c0ac9f8954a2b20b09d9645e0ae5.tar.xz
[Definitions] strip after adding quotes
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10698 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/other')
-rw-r--r--rules/other/Definitions.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/other/Definitions.make b/rules/other/Definitions.make
index a683d2384..0b9bed8ef 100644
--- a/rules/other/Definitions.make
+++ b/rules/other/Definitions.make
@@ -17,7 +17,7 @@ quote:="#"
remove_quotes = $(strip $(subst $(quote),,$(1)))
-add_quote = $(subst $(quote),\$(quote),$(1))
+add_quote = $(strip $(subst $(quote),\$(quote),$(1)))
tr_sh = $(strip $(shell echo $(1) | sed 'y%*+%pp%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g'))