* what means PACKAGECONFIG[...] = ",,,"?
@ 2025-07-25 12:59 Robert P. J. Day
2025-07-25 13:10 ` [docs] " Quentin Schulz
0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2025-07-25 12:59 UTC (permalink / raw)
To: YP docs mailing list
i was thinking of improving the documentation for PACKAGECONFIG with
a couple better examples, and i noticed this in the OE layer:
recipes-support/icu/icu_77-1.bb:PACKAGECONFIG[make-icudata] = ",,,"
i'm not sure what to make of a value assignment of ",,,". so there are
null values for the enable option, disable option, build *and* runtime
dependencies? what does that mean?
rday
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [docs] what means PACKAGECONFIG[...] = ",,,"?
2025-07-25 12:59 what means PACKAGECONFIG[...] = ",,,"? Robert P. J. Day
@ 2025-07-25 13:10 ` Quentin Schulz
2025-07-25 16:09 ` Robert P. J. Day
0 siblings, 1 reply; 3+ messages in thread
From: Quentin Schulz @ 2025-07-25 13:10 UTC (permalink / raw)
To: rpjday, YP docs mailing list
Hi Robert,
On 7/25/25 2:59 PM, Robert P. J. Day via lists.yoctoproject.org wrote:
>
> i was thinking of improving the documentation for PACKAGECONFIG with
> a couple better examples, and i noticed this in the OE layer:
>
> recipes-support/icu/icu_77-1.bb:PACKAGECONFIG[make-icudata] = ",,,"
>
> i'm not sure what to make of a value assignment of ",,,". so there are
> null values for the enable option, disable option, build *and* runtime
> dependencies? what does that mean?
>
It's a way to impact other parts of the recipe which aren't build flags,
or build/runtime dependencies. This is typically the case for files that
should only be installed whenever a config is selected.
For icu, it's entirely bypassing the do_make_icudata (for the target
recipe) task whenever the option is set. Easier to ask users to set
PACKAGECONFIG:remove = "make-icudata" than doing
do_make_icudata:class-target() {:} in a bbappend for example.
Cheers,
Quentin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [docs] what means PACKAGECONFIG[...] = ",,,"?
2025-07-25 13:10 ` [docs] " Quentin Schulz
@ 2025-07-25 16:09 ` Robert P. J. Day
0 siblings, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2025-07-25 16:09 UTC (permalink / raw)
To: Quentin Schulz; +Cc: YP docs mailing list
On Fri, 25 Jul 2025, Quentin Schulz wrote:
> Hi Robert,
>
> On 7/25/25 2:59 PM, Robert P. J. Day via lists.yoctoproject.org wrote:
> >
> > i was thinking of improving the documentation for PACKAGECONFIG with
> > a couple better examples, and i noticed this in the OE layer:
> >
> > recipes-support/icu/icu_77-1.bb:PACKAGECONFIG[make-icudata] = ",,,"
> >
> > i'm not sure what to make of a value assignment of ",,,". so there are
> > null values for the enable option, disable option, build *and* runtime
> > dependencies? what does that mean?
> >
>
> It's a way to impact other parts of the recipe which aren't build
> flags, or build/runtime dependencies. This is typically the case for
> files that should only be installed whenever a config is selected.
>
> For icu, it's entirely bypassing the do_make_icudata (for the target
> recipe) task whenever the option is set. Easier to ask users to set
> PACKAGECONFIG:remove = "make-icudata" than doing
> do_make_icudata:class-target() {:} in a bbappend for example.
i'm going to have to read that another time or two to really
understand it.
rday
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-25 16:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-25 12:59 what means PACKAGECONFIG[...] = ",,,"? Robert P. J. Day
2025-07-25 13:10 ` [docs] " Quentin Schulz
2025-07-25 16:09 ` Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).