All of lore.kernel.org
 help / color / mirror / Atom feed
* Triggering rebuild on a recipe when MACHINE changes
@ 2019-01-29  7:09 Kristupas Savickas
  2019-01-29  9:57 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Kristupas Savickas @ 2019-01-29  7:09 UTC (permalink / raw)
  To: yocto

I have a few recipes that should rebuild when value of MACHINE variable 
changes. How can this be accomplished? I tried using do_compile[vardeps] 
+= "MACHINE", but this didn't seem to have any affect.

-- 
Pagarbiai,
Linux programuotojas
Kristupas Savickas
+370 633 36795



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Triggering rebuild on a recipe when MACHINE changes
  2019-01-29  7:09 Triggering rebuild on a recipe when MACHINE changes Kristupas Savickas
@ 2019-01-29  9:57 ` Burton, Ross
  2019-01-29  9:58   ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2019-01-29  9:57 UTC (permalink / raw)
  To: Kristupas Savickas; +Cc: Yocto-mailing-list

PACKAGE_ARCH = "${MACHINE}"

The default is that the package is tune-specific, so it won't need to
rebuild on MACHINE changes.

Ross

On Tue, 29 Jan 2019 at 07:09, Kristupas Savickas
<kristupas.savickas@teltonika.lt> wrote:
>
> I have a few recipes that should rebuild when value of MACHINE variable
> changes. How can this be accomplished? I tried using do_compile[vardeps]
> += "MACHINE", but this didn't seem to have any affect.
>
> --
> Pagarbiai,
> Linux programuotojas
> Kristupas Savickas
> +370 633 36795
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Triggering rebuild on a recipe when MACHINE changes
  2019-01-29  9:57 ` Burton, Ross
@ 2019-01-29  9:58   ` Burton, Ross
  0 siblings, 0 replies; 3+ messages in thread
From: Burton, Ross @ 2019-01-29  9:58 UTC (permalink / raw)
  To: Kristupas Savickas; +Cc: Yocto-mailing-list

I meant PACKAGE_ARCH = "${MACHINE_ARCH}", sorry.

Ross

On Tue, 29 Jan 2019 at 09:57, Burton, Ross <ross.burton@intel.com> wrote:
>
> PACKAGE_ARCH = "${MACHINE}"
>
> The default is that the package is tune-specific, so it won't need to
> rebuild on MACHINE changes.
>
> Ross
>
> On Tue, 29 Jan 2019 at 07:09, Kristupas Savickas
> <kristupas.savickas@teltonika.lt> wrote:
> >
> > I have a few recipes that should rebuild when value of MACHINE variable
> > changes. How can this be accomplished? I tried using do_compile[vardeps]
> > += "MACHINE", but this didn't seem to have any affect.
> >
> > --
> > Pagarbiai,
> > Linux programuotojas
> > Kristupas Savickas
> > +370 633 36795
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-29  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29  7:09 Triggering rebuild on a recipe when MACHINE changes Kristupas Savickas
2019-01-29  9:57 ` Burton, Ross
2019-01-29  9:58   ` Burton, Ross

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.