[yocto] Configuring a layer to support multiple targets

Bruce Ashfield bruce.ashfield at windriver.com
Fri Aug 12 18:22:58 PDT 2011


On 11-08-12 06:31 PM, Chris Tapp wrote:
> What is the best way to configure a layer to support multiple targets
> that share a common base?
>
> For example, a set of targets that use the Vortex86DX SOC share common
> peripherals and also have per-variant peripherals.
>
> I was thinking:
>
> 1) Have a conf/machine file for each variant;
> 2) Make these use an include for the Vortex86DX SOC.
>
> However, I can't work out how to get a per-machine defconfig file. Is
> there some way of using the machine name to do this? Can I just use

What's your yocto release / base kernel ? IF you happen to
be using linux-yocto there are several ways to avoid using
defconfigs at all, and share your common base of kernel
configuration items.

Cheers,

Bruce

>
> FILESEXTRAPATHS := "${THISDIR}/${PN}/${MACHINE}"
>
> in a kernel .bbappend file?
>
> Chris Tapp
>
> opensource at keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list