ltp: Filter out -ffile-prefix-map

ffile-prefix-map is also needed for reproduble builds and when
introduced can be handled

(From OE-Core rev: 1f8132450b0192ad0c9f35f8b5dbac186c240e29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2021-04-28 15:41:09 -07:00
committed by Richard Purdie
parent bc0a58343b
commit 3b33c0870e

View File

@@ -76,6 +76,7 @@ do_install(){
find ${D}${prefix} -name Makefile | xargs -n 1 sed -i \
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*--sysroot=[^ "]*@@g'
# The controllers memcg_stree test seems to cause us hangs and takes 900s