[OE-core] [PATCH] libcomps & librepo: fix buildpaths qa warnings

Burton, Ross ross.burton at intel.com
Tue Jan 15 10:01:47 UTC 2019


On Tue, 15 Jan 2019 at 06:46, <kai.kang at windriver.com> wrote:
> Add preprocess option '-fmacro-prefix-map' to TARGET_CPPFLAGS to fix
> buildpaths qa warnings of libcomps and librepo.

This is something we should be doing globally, not in a specific recipe.

We pass -fdebug-prefix-map already in bitbake.conf (remap debug
paths), and macro-prefix-map is the same but for __FILE__.  This is
good, because we've a few patches to remove __FILE__ already and this
means we can drop it.

Digging further reveals that there's also -ffile-prefix-map, which
sets debug-prefix-map and macro-prefix-map at once.  We should just
change bitbake.conf to use that instead of debug-prefix-map.

Ross


More information about the Openembedded-core mailing list