All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH] sstate.bbclass: fix multimachine builds when	PACKAGE_ARCH = MACHINE_ARCH
Date: Tue, 04 Jan 2011 06:43:53 -0700	[thread overview]
Message-ID: <4D232419.1080005@mlbassoc.com> (raw)
In-Reply-To: <1294079767-5931-1-git-send-email-koen@openembedded.org>

On 01/03/2011 11:36 AM, Koen Kooi wrote:
> From: Koen Kooi<koen@dominion.thruhere.net>
>
> 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>

Acked by: Gary Thomas <gary@mlbassoc.com>

> ---
>   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 0ba130c..b6e6c92 100644
> --- a/meta/classes/sstate.bbclass
> +++ b/meta/classes/sstate.bbclass
> @@ -5,7 +5,7 @@ SSTATE_MANFILEBASE = "${SSTATE_MANIFESTS}/manifest-${SSTATE_PKGARCH}-"
>   SSTATE_MANFILEPREFIX = "${SSTATE_MANFILEBASE}${PN}"
>
>
> -SSTATE_PKGARCH    = "${BASE_PACKAGE_ARCH}"
> +SSTATE_PKGARCH    = "${MULTIMACH_ARCH}"
>   SSTATE_PKGSPEC    = "sstate-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}-"
>   SSTATE_PKGNAME    = "${SSTATE_PKGSPEC}${BB_TASKHASH}"
>   SSTATE_PKG        = "${SSTATE_DIR}/${SSTATE_PKGNAME}"

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2011-01-04 13:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-03 18:36 [PATCH] sstate.bbclass: fix multimachine builds when PACKAGE_ARCH = MACHINE_ARCH Koen Kooi
2011-01-04 13:43 ` Gary Thomas [this message]
2011-01-04 19:50 ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D232419.1080005@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=koen@dominion.thruhere.net \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.