[yocto] Defining group of machines

Loïc Domaigné tech at domaigne.com
Sat May 4 10:31:31 PDT 2019


Bonsoir,

> > > We’ve a product group with different devices, each having their
> > > machine-conf, eg
> > >
> > > Device_a
> > >
> > > Device_a_mini
> > >
> > > Device_b
> > >
> > > Device_b_mini <- Upcoming
> > >
> > > Device_c <- Upcoming

<snip>

> >   i know i did this once upon a time using the MACHINEOVERRIDES
> > variable to "insert" a machine family into the sequence of machine
> > definitions. as long as there is (i believe) a strictly hierarchical
> > grouping of machines you want to define, i'm pretty sure
> > MACHINEOVERRIDES is what you want.
> >
> >   let me see if i can find where i did that once.
> 
>   yeah, i'm pretty sure you want MACHINEOVERRIDES:
> 
> https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-MACHINEOVERRIDES
> 
> which has a nice example of how to invent a new "machine" category
> (qemuall) that subsumes a number of actual qemu machines. is that what
> you were after?

override is the first thing that crossed my mind...   

In addition to override, include file (xxx.inc) and use of require/include directive might help wrt. to configuration files.

--
Cheers!
Loic


More information about the yocto mailing list