summaryrefslogtreecommitdiff
path: root/tools/buildman/toolchain.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-28 09:43:40 -0600
committerSimon Glass <sjg@chromium.org>2014-09-05 13:40:42 -0600
commitf60c9d4f39f8ca8948594a773eee43543ca37807 (patch)
tree026551e23342813f86850493c148681ca151b52d /tools/buildman/toolchain.py
parent2c3deb9758c5be1c590bebdd25d8a36d486ea5e9 (diff)
downloadu-boot-imx-f60c9d4f39f8ca8948594a773eee43543ca37807.zip
u-boot-imx-f60c9d4f39f8ca8948594a773eee43543ca37807.tar.gz
u-boot-imx-f60c9d4f39f8ca8948594a773eee43543ca37807.tar.bz2
buildman: Allow make-flags variables to include '-' and '_'
These characters are commonly used in variables, so permit them. Also document the permitted characters. Reported-by: Tom Rini <trini@ti.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/toolchain.py')
-rw-r--r--tools/buildman/toolchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py
index 1b9771f..0e91294 100644
--- a/tools/buildman/toolchain.py
+++ b/tools/buildman/toolchain.py
@@ -198,7 +198,7 @@ class Toolchains:
>>> tcs.ResolveReferences(var_dict, 'this=${oblique}_set${first}nd')
'this=OBLIQUE_setfi2ndrstnd'
"""
- re_var = re.compile('(\$\{[a-z0-9A-Z]{1,}\})')
+ re_var = re.compile('(\$\{[-_a-z0-9A-Z]{1,}\})')
while True:
m = re_var.search(args)