summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-12-05 16:57:56 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2018-12-05 16:57:56 +0100
commitdf1451ba5101e5cc2f141b7630966982c71d6956 (patch)
tree8515422f768f73fa032f2470d5f22a3aaa3b30aa
parent1e7209ce9e0c839404f6e4cf154a121e8a928bbb (diff)
downloadmeta-phytec-df1451ba5101e5cc2f141b7630966982c71d6956.tar.bz2
meta-phytec-df1451ba5101e5cc2f141b7630966982c71d6956.zip
phylib: change string matching of machine soc filter
For i.MX8 we will differentiate between the different families. The soc string has to be an exact match. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--scripts/phylib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/phylib.py b/scripts/phylib.py
index 90f79ce..9c71715 100644
--- a/scripts/phylib.py
+++ b/scripts/phylib.py
@@ -172,7 +172,7 @@ class BoardSupportPackage(object):
# add supported_builds based on machine meta data
for x in self.src.machines:
# if a soc is set in the manifest, filter non matching machines
- if self.soc != "all" and self.soc not in x:
+ if self.soc != "all" and "-" + self.soc + "-" not in x:
continue
if self.src.machines[x]['SUPPORTEDIMAGE']: