diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-01-03 19:36:07 +0100 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-01-04 09:46:26 -0800 |
commit | ca148f4627ed7e1b4858a9d0950b5e720df17e09 (patch) | |
tree | 10904fff88164e2e279055c4109100b0e085b2e5 /meta/classes/sstate.bbclass | |
parent | 641fc9bad076333a0881910d804a8f267f073515 (diff) | |
download | poky-ca148f4627ed7e1b4858a9d0950b5e720df17e09.tar.gz |
sstate.bbclass: fix multimachine builds when PACKAGE_ARCH = MACHINE_ARCH
previously you could only build one set of packages for multiple machines:
MACHINE=foo bitbake task-base
MACHINE=bar bitbake task-base
would only create task-base packages for foo, but not for both foo and bar.
Doing MACHINE=bar bitbake task-base -c cleanall would remove the packages for foo.
The solution is to use MULTIMACH_ARCH as suggested by Richard Purdie.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 0ba130c886..b6e6c92003 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -5,7 +5,7 @@ SSTATE_MANFILEBASE = "${SSTATE_MANIFESTS}/manifest-${SSTATE_PKGARCH}-" | |||
5 | SSTATE_MANFILEPREFIX = "${SSTATE_MANFILEBASE}${PN}" | 5 | SSTATE_MANFILEPREFIX = "${SSTATE_MANFILEBASE}${PN}" |
6 | 6 | ||
7 | 7 | ||
8 | SSTATE_PKGARCH = "${BASE_PACKAGE_ARCH}" | 8 | SSTATE_PKGARCH = "${MULTIMACH_ARCH}" |
9 | SSTATE_PKGSPEC = "sstate-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}-" | 9 | SSTATE_PKGSPEC = "sstate-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}-" |
10 | SSTATE_PKGNAME = "${SSTATE_PKGSPEC}${BB_TASKHASH}" | 10 | SSTATE_PKGNAME = "${SSTATE_PKGSPEC}${BB_TASKHASH}" |
11 | SSTATE_PKG = "${SSTATE_DIR}/${SSTATE_PKGNAME}" | 11 | SSTATE_PKG = "${SSTATE_DIR}/${SSTATE_PKGNAME}" |