From: Richard Purdie Date: Tue, 31 May 2011 22:05:31 +0000 (+0100) Subject: allarch.bbclass: A "all" TARGET_ARCH is dangerous as an OVERRIDE X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=802080eb6dd4c872ef16797f06d1aee43624a64c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git allarch.bbclass: A "all" TARGET_ARCH is dangerous as an OVERRIDE Having a generic word like "all" as an override is dangerous as this is an override and can cause issues for function names like "sysroot_stage_all". This patch changes it to "allarch" to help avoid this kind of problem. The field is only used in the name of directories anyway. (From OE-Core rev: 5d7d4e1ed9bedf2b6510796d76ea8f94739b9de2) Signed-off-by: Richard Purdie Signed-off-by: Richard Purdie --- diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index b7c37c3dd1a..26fca706352 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -9,7 +9,7 @@ INHIBIT_DEFAULT_DEPS = "1" # Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory # naming anyway -TARGET_ARCH = "all" +TARGET_ARCH = "allarch" TARGET_OS = "linux" TARGET_CC_ARCH = "none" PACKAGE_EXTRA_ARCHS = ""