All of lore.kernel.org
 help / color / mirror / Atom feed
* empty packages
@ 2016-07-26  6:18 Robert Berger
  2016-07-26  6:24 ` Nicolas Dechesne
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Berger @ 2016-07-26  6:18 UTC (permalink / raw)
  To: yocto

Hi,

According to [1]:

"By default, BitBake does not produce empty packages."

This does not seem to be the case at least for Jethro.

If I bitbake something like this[2] for qemuarm I see empty packages
like e.g. the -dev package.

Now it's getting even more interesting.

[3] says:

The list of packages to be created from the recipe. The default value is
the following:

${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale
${PACKAGE_BEFORE_PN} ${PN}

... but ...

a non empty -dbg package is being built
an empty -dev package is being built
no -locale package is being built

Is this expected behavior? If yes please explain.

Regards,

Robert


[1]
http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-ALLOW_EMPTY
[2]
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/documentation/ref-manual/examples/hello-single/hello.bb
[3]
http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-PACKAGES..."The
three principal virtues of a programmer are Laziness, Impatience, and
Hubris." - Larry Wall

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: empty packages
  2016-07-26  6:18 empty packages Robert Berger
@ 2016-07-26  6:24 ` Nicolas Dechesne
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Dechesne @ 2016-07-26  6:24 UTC (permalink / raw)
  To: Robert Berger; +Cc: Yocto list discussion

On Tue, Jul 26, 2016 at 10:18 AM, Robert Berger
<gmane@reliableembeddedsystems.com> wrote:
> According to [1]:
>
> "By default, BitBake does not produce empty packages."
>
> This does not seem to be the case at least for Jethro.
>
> If I bitbake something like this[2] for qemuarm I see empty packages
> like e.g. the -dev package.
>
> Now it's getting even more interesting.
>
> [3] says:
>
> The list of packages to be created from the recipe. The default value is
> the following:
>
> ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale
> ${PACKAGE_BEFORE_PN} ${PN}
>
> ... but ...
>
> a non empty -dbg package is being built
> an empty -dev package is being built
> no -locale package is being built
>
> Is this expected behavior? If yes please explain.
>
> Regards,
>
> Robert
>
>
> [1]
> http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-ALLOW_EMPTY
> [2]
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/documentation/ref-manual/examples/hello-single/hello.bb
> [3]
> http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-PACKAGES..."The
> three principal virtues of a programmer are Laziness, Impatience, and
> Hubris." - Larry Wall

as you have seed in your [1] link, ALLOW_EMPTY can be set for a
specific package to force a package to be created even empty.

ALLOW_EMPTY is set to 1 by default for -dev and -dbg (check
bitbake.conf), but it is not set for -locale.  that should explain the
behavior you are seeing.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-26  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-26  6:18 empty packages Robert Berger
2016-07-26  6:24 ` Nicolas Dechesne

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.