]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: fix multimachine builds when PACKAGE_ARCH = MACHINE_ARCH
authorKoen Kooi <koen@dominion.thruhere.net>
Mon, 3 Jan 2011 18:36:07 +0000 (19:36 +0100)
committerSaul Wold <sgw@linux.intel.com>
Tue, 4 Jan 2011 17:46:26 +0000 (09:46 -0800)
commitca148f4627ed7e1b4858a9d0950b5e720df17e09
tree10904fff88164e2e279055c4109100b0e085b2e5
parent641fc9bad076333a0881910d804a8f267f073515
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>
meta/classes/sstate.bbclass