[bitbake-devel] confused by multiconfig explanation in bitbake manual

Joshua Watt jpewhacker at gmail.com
Wed Feb 5 13:54:15 UTC 2020


On Wed, Feb 5, 2020, 4:26 AM Robert P. J. Day <rpjday at crashcourse.ca> wrote:

>
>   i've never defined a multiconfig build, but this section explaining
> it in the BB user manual seems confusing:
>
> ///// start
>
> The following statement in the local.conf file both enables BitBake to
> perform multiple configuration builds and specifies the two extra
> multiconfigs:
>
>      BBMULTICONFIG = "target1 target2"
>
> Once the target configuration files are in place and BitBake has been
> enabled to perform multiple configuration builds, use the following
> command form to start the builds:
>
>      $ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target]
> ... ]
>
> Here is an example for two extra multiconfigs: target1 and target2:
>
>      $ bitbake mc::target mc:target1:target mc:target2:target
>
> ///// end
>
>   i don't understand the "mc::target" part of that last command, as it
> does not seem to be compatible with the definition of the general form
> of the command just above that, specifically:
>
>       $ bitbake [mc:multiconfigname:]target ...
>
> can someone clarify this?
>

"target" is the recipe you want to build, just as you would have specified
if you were not using a "mc:multiconfig:" prefix. For examples:

 # build core-image-minimal
 bitbake mc:my-mulitconfig:core-image-minimal

 # build BusyBox
 bitbake mc:my-mulitconfig:busybox



> rday
>
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20200205/eb9de49b/attachment-0001.html>


More information about the bitbake-devel mailing list