summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-31 23:05:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-01 14:10:49 +0100
commit5d7d4e1ed9bedf2b6510796d76ea8f94739b9de2 (patch)
tree054e1eb8ab6f7458e4121bf7df6d56c218dad241 /meta
parent26e5e5feb695864b11e47e24017e254c28f14494 (diff)
downloadopenembedded-core-5d7d4e1ed9bedf2b6510796d76ea8f94739b9de2.tar.gz
openembedded-core-5d7d4e1ed9bedf2b6510796d76ea8f94739b9de2.tar.bz2
openembedded-core-5d7d4e1ed9bedf2b6510796d76ea8f94739b9de2.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/allarch.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index b7c37c3dd1..26fca70635 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 = ""