From: Tom Zanussi Date: Wed, 3 Jul 2013 20:13:33 +0000 (+0000) Subject: yocto-bsp: filter out 'layer' from arch list X-Git-Tag: rev_ivi_2015_02_04~11894 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4ad7376f5bf79bc6eb65a692b5356ece4a9f574;p=scm%2Fbb%2Ftizen-distro.git 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- 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