xtf: fix build with gcc11 SRCREV and specifying linker

Newer XTF revision works around GCC 11.1 issue 99578 and
supplying the correct linker to use fixes the build.

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Christopher Clark 2021-07-07 21:32:45 -07:00 committed by Bruce Ashfield
parent 3e128c1bcd
commit c1cdd76a47

View File

@ -6,7 +6,7 @@ LICENSE = "BSD-2-Clause"
# https://static.sched.com/hosted_files/xendeveloperanddesignsummit2017/79/xtf.pdf # https://static.sched.com/hosted_files/xendeveloperanddesignsummit2017/79/xtf.pdf
SRC_URI = "git://xenbits.xen.org/xtf" SRC_URI = "git://xenbits.xen.org/xtf"
SRCREV = "b0bc49846c154b79243f39d461a4515804bcaf53" SRCREV = "3e800027016ea4eb19887bf626b46f45fc43fa5d"
COMPATIBLE_HOST = '(x86_64.*).*-linux' COMPATIBLE_HOST = '(x86_64.*).*-linux'
@ -32,6 +32,7 @@ RDEPENDS_${PN} = " \
do_compile() { do_compile() {
oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \ oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \
CPP="${CPP}" \ CPP="${CPP}" \
LD="${LD}" \
OBJCOPY="${OBJCOPY}" \ OBJCOPY="${OBJCOPY}" \
PYTHON="${PYTHON}" PYTHON="${PYTHON}"
# switch the shebang to python3 # switch the shebang to python3