]> code.ossystems Code Review - openembedded-core.git/commit
autotools: Correctly filter m4 files view to setscene dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Sep 2016 13:56:15 +0000 (14:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Sep 2016 21:20:05 +0000 (22:20 +0100)
commit37ffb1f7d812e40d6fa23b44782eaa8436d9ab76
treef6f8ddaa3eb879b53fdf8fa70295d76b53062aa4
parent29e99d7a57803e450920600b5d35c5b4e58a0ede
autotools: Correctly filter m4 files view to setscene dependencies

Currently when you run builds from sstate, you can see warnings like:

WARNING: systemd-1_230+gitAUTOINC+3a74d4fc90-r0 do_configure: /data/poky-master/tmp-glibc/sstate-control/manifest-intel-corei7-64-glibc-initial.populate_sysroot not found
WARNING: systemd-1_230+gitAUTOINC+3a74d4fc90-r0 do_configure: /data/poky-master/tmp-glibc/sstate-control/manifest-intel-corei7-64-libgcc-initial.populate_sysroot not found

This is due to co_configure wanting to copy a limited number of m4 macros,
only listed in a recipes DEPENDS but that set is still larger than the set of
recipes which get restored from sstate.

For build determinism and to avoid these warnings, we need to make this
function match what the sstate code does. We really don't want to duplicate
the functionality since keeping things in sync would be hard so we create
a data structure which can be passed into the same underlying function,
setscene_depvalid().

[YOCTO #10030]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass