summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-04-18 11:05:38 +1000
committerChris Johns <chrisj@rtems.org>2016-04-18 11:05:38 +1000
commit9343280a61f0c0736e237168297b9d1490a66255 (patch)
tree49edf0cc093a87d416cac8659767d79965d0eeed
parent8220ad187c2570a758b666ba7dbd068361aec1a2 (diff)
Remove the 4.11 reference and use the version argument.
-rw-r--r--rtems.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtems.py b/rtems.py
index 1926e31..d0ffa81 100644
--- a/rtems.py
+++ b/rtems.py
@@ -595,7 +595,7 @@ def _find_installed_archs(config, path, version):
a = subprocess.check_output([config, '--list-format', '"%(arch)s"'])
a = a[:-1].replace('"', '')
archs = set(a.split())
- archs = ['%s-rtems4.11' % (x) for x in archs]
+ archs = ['%s-rtems%s' % (x, version) for x in archs]
archs.sort()
return archs