oe-arch is the wrong list for this, -architecture is for large-scale changes.

On Mon, 17 Sep 2018 at 16:13, Harald Welte <[email protected]> wrote:
> It is my understanding that do_populate_sysroot has the job of installing
> all of the packages of DEPENDS into the sysroot before starting compilation.
> I was under the impression that this also applies for any sub-packages of
> the package to which is depended on?

subpackages are irrelevant, bitbake only care about recipes.  A recipe
has dependencies, and the sysroot contents of those *recipes*
(everything it installs that is in a whitelist of paths, such as
/usr/include /usr/lib) are installed in the recipe-specific sysroot
before do_configure.

> However, this doesn't seem to work.
>
> * if I set DEPENDS="gpsd", then the header files are not installed
> * if I set DEPENDS="gpsd-dev", then 'nothing provides gpsd-dev'

The error is correct, DEPENDS is a list of *recipes*.

With that gpsdate recipe and oe-core/meta-oe master it builds fine:

$ bitbake gpsdate
...
NOTE: Tasks Summary: Attempted 2805 tasks of which 2789 didn't need to
be rerun and all succeeded.

What actual error do you get?

Ross
_______________________________________________
Openembedded-architecture mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-architecture

Reply via email to