From: Ross Burton Date: Thu, 4 Dec 2025 16:18:18 +0000 (+0000) Subject: binutils-testsuite: fix ld tests that check for enable_libctf X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22b0eef011b8dea576853223f7343f4da965feb1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git binutils-testsuite: fix ld tests that check for enable_libctf The ld tests expect that the Makefile is being used and has written to ld/enabling.exp. As we don't do that, manually write the file with the right content. This fixes the ld/testsuite/ld-ctf/ctf.exp tests. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb b/meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb index 4e393c4e4d6..53693334345 100644 --- a/meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb +++ b/meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb @@ -45,6 +45,8 @@ python check_prepare() { content.append('set target_triplet {0}'.format(suffix_sys(d.getVar("TARGET_SYS")))) content.append("set development true") content.append("set experimental false") + # This is normally written into ld/enablings.exp + content.append("set enable_libctf yes") content.append(d.expand('set CXXFILT "${TARGET_PREFIX}c++filt"')) content.append(d.expand('set CC "${TARGET_PREFIX}gcc --sysroot=${STAGING_DIR_TARGET} ${TUNE_CCARGS}"'))