[OE-core] "sub" machine types?

Lee Nipper lee.nipper at linux.com
Mon Sep 7 14:24:46 UTC 2015


On Mon, Sep 7, 2015 at 7:08 AM, Steffen Sledz <sledz at dresearch-fe.de> wrote:

> On 07.09.2015 09:09, Steffen Sledz wrote:
> > On 05.09.2015 13:29, Mike Looijmans wrote:
> >> ... and I think the u-boot recipe recently learned to have multiple
> targets, so you can build multiple bootloaders for a single machine too.
> >
> > That sounds great. Can someone give a pointer to some documentation or
> examples for that?
>
> Is it correct to just replace the UBOOT_MACHINE item in the machine config
> with something like this?
>
> UBOOT_CONFIG ??= "sub1 sub2 sub3"
> UBOOT_CONFIG[sub1] = "mymachine_sub1_config"
> UBOOT_CONFIG[sub2] = "mymachine_sub2_config"
> UBOOT_CONFIG[sub3] = "mymachine_sub3_config"
>
>
Looks right.

I think you may also want to add something like:

KERNEL_DEVICETREE ??= "sub1.dtb  sub2.dtb  sub3.dtb"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150907/26b847c2/attachment-0002.html>


More information about the Openembedded-core mailing list