[OE-core] [PATCH V2] allarch.bbclass: Set FEED_ARCH to original value of BASE_PACKAGE_ARCH and then set BASE_PACKAGE_ARCH to 'all'
Khem Raj
raj.khem at gmail.com
Tue Jun 14 21:13:22 UTC 2011
PACKAGE_ARCH is set to BASE_PACKAGE_ARCH so we do not
need to define it here since we already define BASE_PACKAGE_ARCH
angstrom sets FEED_ARCH like
FEED_ARCH ?= "${BASE_PACKAGE_ARCH}"
and 'all' doesnt go well for FEED_ARCH as it ends up with
parsing error for x86 machines.
This might be a latent bug in bitbake but allarch.bbclass
excavated it and we burry it in the same class.
This makes the behavior same as it was before allarch.bbclass
where we set PACKAGE_ARCH = all for common packages
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/classes/allarch.bbclass | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index e3ac392..b9ba28b 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -2,9 +2,10 @@
# This class is used for architecture independent recipes/data files (usally scripts)
#
+# We need to pour the value of BASE_PACKAGE_ARCH into FEED_ARCH
+# before we reset it
+FEED_ARCH := ${BASE_PACKAGE_ARCH}
BASE_PACKAGE_ARCH = "all"
-PACKAGE_ARCH = "all"
-
# No need for virtual/libc or a cross compiler
INHIBIT_DEFAULT_DEPS = "1"
--
1.7.4.1
More information about the Openembedded-core
mailing list