]> code.ossystems Code Review - openembedded-core.git/commitdiff
allarch.bbclass: A "all" TARGET_ARCH is dangerous as an OVERRIDE
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 May 2011 22:05:31 +0000 (23:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jun 2011 13:10:49 +0000 (14:10 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/allarch.bbclass

index b7c37c3dd1aa56e90d48eb1bdf2652313afebbb9..26fca706352afb77602aa64c67b26233dc97639f 100644 (file)
@@ -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 = ""