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-09 10:53:57 +0100 |
commit | 0d5380fd3f3fa08e1cbade8582c8fc4ece3cceeb (patch) | |
tree | b73fb906864581c61ae4e017da180b0b1bf37047 | |
parent | e0e3471aa6c7bedcb5ea59225115687ae0d89af5 (diff) | |
download | poky-0d5380fd3f3fa08e1cbade8582c8fc4ece3cceeb.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 master rev: 7459485bf75855a40d124915d38284f737a25cc4)
(From meta-yocto rev: 0af5b4550cdb836c68bb5b22fccb8d460fb7d515)
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>
-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 36bd446e2b..681720d20a 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): | |||
1674 | arch_path = bsp_path + '/substrate/target/arch' | 1674 | arch_path = bsp_path + '/substrate/target/arch' |
1675 | print "Architectures available:" | 1675 | print "Architectures available:" |
1676 | for arch in os.listdir(arch_path): | 1676 | for arch in os.listdir(arch_path): |
1677 | if arch == "common": | 1677 | if arch == "common" or arch == "layer": |
1678 | continue | 1678 | continue |
1679 | print " %s" % arch | 1679 | print " %s" % arch |
1680 | return True | 1680 | return True |