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

Kang Kai Kai.Kang at windriver.com
Wed Jan 16 02:38:14 UTC 2019


On 2019/1/15 下午6:01, Burton, Ross wrote:
> 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.

OK.

--Kai


>
> Ross
>

-- 
Kai Kang



More information about the Openembedded-core mailing list