[yocto] empty packages

Robert Berger gmane at reliableembeddedsystems.com
Mon Jul 25 23:18:05 PDT 2016


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





More information about the yocto mailing list