From patchwork Tue Jun 14 05:25:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: allarch.bbclass: Set FEED_ARCH to 'allarch' Date: Tue, 14 Jun 2011 05:25:30 -0000 From: Khem Raj X-Patchwork-Id: 5815 Message-Id: <1308029130-29774-1-git-send-email-raj.khem@gmail.com> To: OE core PACKAGE_ARCH is set to BASE_PACKAGE_ARCH so we do not need to define it here since we already define BASE_PACKAGE_ARCH Additionally set FEED_ARCH to 'allarch' some distros e.g. 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. Signed-off-by: Khem Raj --- meta/classes/allarch.bbclass | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index e3ac392..971cb92 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -2,9 +2,8 @@ # This class is used for architecture independent recipes/data files (usally scripts) # -BASE_PACKAGE_ARCH = "all" -PACKAGE_ARCH = "all" - +BASE_PACKAGE_ARCH = "allarch" +FEED_ARCH = "allarch" # No need for virtual/libc or a cross compiler INHIBIT_DEFAULT_DEPS = "1"