summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-07-21 15:35:11 +1000
committerChris Johns <chrisj@rtems.org>2012-07-21 15:35:11 +1000
commita21c3ff7432f3a17fece7217b94ece295e64bfa7 (patch)
tree29aa3b67db78bc92001acac9ed793bb4101211b4
parent7cf59b6a13cbcf9e2d47e2bc906b0ca2d7a7eb17 (diff)
Fix the split of the arch/bsps.
-rw-r--r--rtems.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtems.py b/rtems.py
index 21182b4..3043e14 100644
--- a/rtems.py
+++ b/rtems.py
@@ -302,7 +302,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-rtems4.11' % (x) for x in archs]
archs.sort()
return archs
@@ -327,7 +327,7 @@ def _find_installed_arch_bsps(config, path, archs):
ab = subprocess.check_output([config, '--list-format'])
ab = ab[:-1].replace('"', '')
ab = ab.replace('/', '-rtems4.11-')
- arch_bsps = set(ab.split())
+ arch_bsps = [x for x in set(ab.split())]
arch_bsps.sort()
return arch_bsps