From dcea0f85eec14d826f5704e25f757d05fe420668 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 2 May 2024 01:24:02 +0100 Subject: [PATCH] toolchain.eclass: fix validate_failures.py cp for non-gcc Thanks to matoro for reporting. Fixes: 5e9a0a17e43d3f5d7d7c1e3a8a7e58f8d26861cf Signed-off-by: Sam James --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 12d31d20d9146..25dedd4e52624 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -633,7 +633,7 @@ toolchain_src_prepare() { fi if use test ; then - cp "${DISTDIR}"/${PN}-validate-failures-${GCC_VALIDATE_FAILURES_VERSION}.py "${T}"/validate_failures.py || die + cp "${DISTDIR}"/gcc-validate-failures-${GCC_VALIDATE_FAILURES_VERSION}.py "${T}"/validate_failures.py || die chmod +x "${T}"/validate_failures.py || die fi