[oe] Source distribution broken?
nyrl at mail.ru
Sun Dec 19 18:41:01 CET 2010
> Is the source distribution functionality broken?
> The only thing that is stored in the TMPDIR/deploy/glibc/sources is a MIT
> directory with the minimal-image/minimal-image.bb file.
> If set to something else instead of "do_build" like "do_compile" will trigger a
> lot of src_distribute calls and copying of files for a lot of licenses to
Try bitbake minimal-image -c buildall
As far as I got it, do_build target is *not* invoked for each dependent package while building image since it is not required (unlike do_compile which is required). To ensure that do_build is called for each packet belonging to image, you should use do_buildall target for whole image.
I suppose (never tried) that calling bitbake minimal-image -c distribute_sources_all is enough to generate sources if you just need them.
More information about the Openembedded-devel