confused by multiconfig explanation in bitbake manual
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?
rday
Quoted 25 lines · Robert P. J. Day
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
Quoted 8 lines
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
Quoted 8 lines
rday
--
_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/bitbake-devel
Quoted 36 lines · Joshua Watt
On Wed, Feb 5, 2020, 4:26 AM Robert P. J. Day <[email protected]> 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::targetmc: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?
Quoted 9 lines
"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
my confusion was with the example that started with the two colons:
$ bitbake mc::target ...
the manual doesn't seem to explain the meaning of that "::" bit.
rday
Quoted 52 lines · Robert P. J. Day
Quoted 3 lines · Joshua Watt
On Wed, Feb 5, 2020, 4:26 AM Robert P. J. Day <[email protected]>
Quoted 2 lines · wrote:
i've never defined a multiconfig build, but this section
explaining
Quoted 5 lines
it in the BB user manual seems confusing:
///// start
The following statement in the local.conf file both enables
BitBake to
Quoted 6 lines
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
Quoted 4 lines
enabled to perform multiple configuration builds, use the following command form to start the builds:
$ bitbake [mc:multiconfigname:]target
[[[mc:multiconfigname:]target] ... ]
Quoted 8 lines
Here is an example for two extra multiconfigs: target1 and target2:
$ bitbake
mc::targetmc:target1:target mc:target2:target///// end
i don't understand the "
mc::target" part of that last command,as it
Quoted 1 line
does not seem to be compatible with the definition of the general
form
Quoted 8 lines
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:"
Quoted 5 lines
prefix. For examples:
# build core-image-minimal bitbake mc:my-mulitconfig:core-image-minimal
Quoted 9 lines
Quoted 3 lines
# build BusyBox bitbake mc:my-mulitconfig:busyboxmy confusion was with the example that started with the two colons:
$ bitbake mc::target ...the manual doesn't seem to explain the meaning of that "::" bit.
Ah sorry. I'm not sure. I've not seen that used much, if ever.
Based on the code, I would assume that's equivalent to just " bitbake target", but I'm not positive.
Quoted 1 line
rday