diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-07-03 20:13:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-05 15:40:30 +0100 |
commit | 04b36b14b6867f7b3495844ead4d3e569c61e6d6 (patch) | |
tree | 28f11f2605edc8f4c78bdb439b14468912627d9e /scripts | |
parent | 509ca8046613bbe145a47eec7134b78c1168e508 (diff) | |
download | ast2050-yocto-poky-04b36b14b6867f7b3495844ead4d3e569c61e6d6.zip ast2050-yocto-poky-04b36b14b6867f7b3495844ead4d3e569c61e6d6.tar.gz |
yocto-bsp: filter out 'layer' from arch list
The yocto-layer tool added a new directory alongside the actual
architectures and 'common', which is already screened out as not an
actual architecture when displaying the architecures.
The same needs to be done for 'layer' which isn't actually an
architecuture and likewise needs to be screened out.
Fixes [YOCTO #4735].
(From meta-yocto rev: 7459485bf75855a40d124915d38284f737a25cc4)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/bsp/engine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 36bd446..681720d 100644 --- a/scripts/lib/bsp/engine.py +++ b/scripts/lib/bsp/engine.py @@ -1674,7 +1674,7 @@ def yocto_bsp_list(args, scripts_path, properties_file): arch_path = bsp_path + '/substrate/target/arch' print "Architectures available:" for arch in os.listdir(arch_path): - if arch == "common": + if arch == "common" or arch == "layer": continue print " %s" % arch return True |