* confused by multiconfig explanation in bitbake manual
@ 2020-02-05 10:26 Robert P. J. Day
2020-02-05 13:54 ` Joshua Watt
0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2020-02-05 10:26 UTC (permalink / raw)
To: BitBake developer list
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: confused by multiconfig explanation in bitbake manual
2020-02-05 10:26 confused by multiconfig explanation in bitbake manual Robert P. J. Day
@ 2020-02-05 13:54 ` Joshua Watt
2020-02-05 13:58 ` Robert P. J. Day
0 siblings, 1 reply; 4+ messages in thread
From: Joshua Watt @ 2020-02-05 13:54 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: BitBake developer list
[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]
On Wed, Feb 5, 2020, 4:26 AM Robert P. J. Day <rpjday@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
[-- Attachment #2: Type: text/html, Size: 2705 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: confused by multiconfig explanation in bitbake manual
2020-02-05 13:54 ` Joshua Watt
@ 2020-02-05 13:58 ` Robert P. J. Day
2020-02-05 14:01 ` Joshua Watt
0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2020-02-05 13:58 UTC (permalink / raw)
To: Joshua Watt; +Cc: BitBake developer list
[-- Attachment #1: Type: text/plain, Size: 1796 bytes --]
On Wed, 5 Feb 2020, Joshua Watt wrote:
>
>
> On Wed, Feb 5, 2020, 4:26 AM Robert P. J. Day <rpjday@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
>
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: confused by multiconfig explanation in bitbake manual
2020-02-05 13:58 ` Robert P. J. Day
@ 2020-02-05 14:01 ` Joshua Watt
0 siblings, 0 replies; 4+ messages in thread
From: Joshua Watt @ 2020-02-05 14:01 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: BitBake developer list
[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]
On Wed, Feb 5, 2020, 7:58 AM Robert P. J. Day <rpjday@crashcourse.ca> wrote:
> On Wed, 5 Feb 2020, Joshua Watt wrote:
>
> >
> >
> > On Wed, Feb 5, 2020, 4:26 AM Robert P. J. Day <rpjday@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
> >
> 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.
>
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.
> rday
[-- Attachment #2: Type: text/html, Size: 3199 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-02-05 14:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-05 10:26 confused by multiconfig explanation in bitbake manual Robert P. J. Day
2020-02-05 13:54 ` Joshua Watt
2020-02-05 13:58 ` Robert P. J. Day
2020-02-05 14:01 ` Joshua Watt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.