[OE-core] [PATCH v2 1/5] alsa-plugins: initial recipe
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Fri May 22 15:00:48 UTC 2015
On Fri, 2015-05-22 at 15:44 +0100, Paul Eggleton wrote:
> On Friday 22 May 2015 17:15:45 Tanu Kaskinen wrote:
> > +# meta/conf/bitbake.conf sets ALLOW_EMPTY_${PN}-dev = "1", but we don't
> > want an
> > +# empty alsa-plugins-dev package. The empty package would depend
> > on +# alsa-plugins, which is a package that doesn't exist.
> > +ALLOW_EMPTY_${PN}-dev = "0"
>
> Wouldn't it make sense to actually have a pulseaudio-plugins package which
> depends on all of the actual plugin packages? This way you would also avoid
> the other issue we've seen in similar recipes where users try to add the main
> package to their image, which the build system thinks will be produced, and
> then get the "package not found in base feeds" error at do_rootfs time.
That sounds like a reasonable approach too. To avoid maintaining a list
of all modules in the recipe, it would be good to script the
dependencies:
RDEPENDS_${PN} = "${@get_built_plugin_packages()}"
I'm not experienced with bitbake scripting, so any pointers for
implementing get_built_plugin_packages() would be helpful.
--
Tanu
More information about the Openembedded-core
mailing list