summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Müller-Klieser <S.Mueller-Klieser@phytec.de>2018-07-30 18:18:02 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-08-02 16:44:27 +0200
commitb42548ad50a732629591abe8c03bd4076ca81da5 (patch)
tree4d1a3f43c731752d392017dc1eb39af692f17c3b
parentd3a35f2e66155bb0637a29e3bdd94aee3e97819c (diff)
downloadmeta-phytec-b42548ad50a732629591abe8c03bd4076ca81da5.tar.bz2
meta-phytec-b42548ad50a732629591abe8c03bd4076ca81da5.zip
scripts: phylib: change manifest supported_builds delimiter
This changes the delimiter to ',' which is the same as the one used in the machines.conf. Firstly this unifies the delimiter usage and secondly it allows to use spaces in the manifest which will enable usage of different build commands. Please note that this is an internal API change. If the phylib has been used correctly by any script, this will not affect any users. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--scripts/phylib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/phylib.py b/scripts/phylib.py
index c2906e5..b5baba6 100644
--- a/scripts/phylib.py
+++ b/scripts/phylib.py
@@ -200,8 +200,8 @@ class BoardSupportPackage(object):
# import meta data, some keys need special treatments
for key in list(release_info.keys()):
if key == "supported_builds":
- for b in filter(None, release_info[key].split(' ')):
- self.supported_builds.append(b.split('/'))
+ for b in filter(None, release_info[key].split(',')):
+ self.supported_builds.append(b.strip().split('/'))
else:
setattr(self, key, release_info[key])