Module: meta-angstrom
Branch: master
Commit: eb6bb656ac1619ab37e243d20630b407992e331a

Author: Koen Kooi <k...@dominion.thruhere.net>
Date:   Wed Jun 15 11:25:09 2011 +0200

angstrom: filter out 'all' in overrides

This fixes build and parse errors where tasks had '_all' as substring

Signed-off-by: Koen Kooi <k...@dominion.thruhere.net>

---

 conf/distro/include/angstrom.inc |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/conf/distro/include/angstrom.inc b/conf/distro/include/angstrom.inc
index 532e4bb..fd3c7b8 100644
--- a/conf/distro/include/angstrom.inc
+++ b/conf/distro/include/angstrom.inc
@@ -17,8 +17,17 @@ SOC_FAMILY ?= "Unknown"
 # Yocto work around for missing ONLINE_PACKAGE_MANAGEMENT support
 ONLINE_PACKAGE_MANAGEMENT = "full"
 
-# Add FEED_ARCH and SOC_FAMILY to machine overrides
-MACHINEOVERRIDES .= ":${FEED_ARCH}:${SOC_FAMILY}"
+#Set the right arch for the feeds
+#Alphabetically sorted
+
+FEED_ARCH ?= "${BASE_PACKAGE_ARCH}"
+
+#blackfin machines
+FEED_ARCH_bfin          = "blackfin"
+
+# Add FEED_ARCH and SOC_FAMILY to machine overrides so we get access to e.g. 
'armv7a' and 'omap3'
+# Hopefully we'll never see a machine or arch with 'all' as substring
+MACHINEOVERRIDES .= ":${@bb.data.getVar('FEED_ARCH', 
d,1).replace('all','noarch')}:${SOC_FAMILY}"
 
 # Put links to sources in deploy/sources to make it easier for people to be 
GPL compliant
 #INHERIT += "src_distribute_local"
@@ -156,14 +165,6 @@ INHERIT += "image-prelink"
 TARGET_CC_ARCH_pn-webkit-gtk_armv5te = "-march=armv4t"
 TARGET_CC_ARCH_pn-cairo_armv5te = "-march=armv4t"
 
-#Set the right arch for the feeds
-#Alphabetically sorted
-
-FEED_ARCH ?= "${BASE_PACKAGE_ARCH}"
-
-#blackfin machines
-FEED_ARCH_bfin          = "blackfin"
-
 #Name the generated images in a sane way
 IMAGE_NAME = 
"${DISTRO_NAME}-${IMAGE_BASENAME}-${TCLIBC}-${ANGSTROM_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}"
 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to