android-tools: fix QA warning about buildpaths

Replace all filenames in the object with "--file-prefix-map"
which is lost when resetting CFLAGS.

Signed-off-by: Christian Hohnstaedt <christian@hohnstaedt.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Christian Hohnstaedt
2023-07-24 07:37:37 +02:00
committed by Khem Raj
parent 73eda616ef
commit 3baecf3983
@@ -92,7 +92,7 @@ do_compile() {
# Setting both variables below causing our makefiles to not work with
# implicit make rules
unset CFLAGS
CFLAGS="-ffile-prefix-map=${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
unset CPPFLAGS
export SRCDIR=${S}