summaryrefslogtreecommitdiff
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-17 20:40:34 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-17 20:40:34 +0000
commit45d0dac16ad84f9eb0264dfd662238e3913619d6 (patch)
tree6aea25e2303425228e8de373ed55293dd3d72858 /meta/conf/bitbake.conf
parenta906cd2a4b8ce4910b2e577e7ea56c7ec65e810c (diff)
downloadopenembedded-core-45d0dac16ad84f9eb0264dfd662238e3913619d6.tar.gz
openembedded-core-45d0dac16ad84f9eb0264dfd662238e3913619d6.tar.bz2
openembedded-core-45d0dac16ad84f9eb0264dfd662238e3913619d6.zip
bitbake.conf/tune.conf: Set BASE_PACKAGE_ARCH and build PACKAGE_ARCH from this
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4857 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 74b593a034..ad85dc3861 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -86,7 +86,8 @@ TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS'
TARGET_PREFIX = "${TARGET_SYS}-"
TARGET_CC_ARCH = ""
-PACKAGE_ARCH = "${HOST_ARCH}"
+BASE_PACKAGE_ARCH = "${HOST_ARCH}"
+PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}"