From 7880b218919a35f5f8b1ec4a011aca6c7bcc5272 Mon Sep 17 00:00:00 2001 From: Rasmus Villemoes Date: Tue, 24 Mar 2026 13:55:18 +0100 Subject: [PATCH] pcp: use HOSTTOOLS_DIR variable instead of TMPDIR/hosttools This is a bit cleaner, and means a few less places that would need updating in case the TMPDIR bitbake variable gets renamed at some point in the future: https://lore.kernel.org/openembedded-core/6aba349f497903351a0cd8d06708e94119bd5d05.camel@pbarker.dev/ Signed-off-by: Rasmus Villemoes Signed-off-by: Khem Raj --- meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb | 6 +++--- meta-oe/recipes-support/pcp/pcp_6.3.8.bb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb b/meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb index e90efea9cb..c4064d8330 100644 --- a/meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb +++ b/meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb @@ -10,8 +10,8 @@ export PCP_BIN_DIR = "${D}/usr/bin" B = "${S}" do_configure:prepend() { - export SED=${TMPDIR}/hosttools/sed - export AR=${TMPDIR}/hosttools/ar + export SED=${HOSTTOOLS_DIR}/sed + export AR=${HOSTTOOLS_DIR}/ar # export PYTHON=python3 rm -rf ${S}/include/pcp/configsz.h @@ -25,7 +25,7 @@ do_compile:prepend() { -e "s,#undef PM_SIZEOF_TIME_T,,g" \ ${S}/src/include/pcp/config.h.in - export AR=${TMPDIR}/hosttools/ar + export AR=${HOSTTOOLS_DIR}/ar # export PYTHON=python3 } diff --git a/meta-oe/recipes-support/pcp/pcp_6.3.8.bb b/meta-oe/recipes-support/pcp/pcp_6.3.8.bb index 65efac06be..bf1d728b7c 100644 --- a/meta-oe/recipes-support/pcp/pcp_6.3.8.bb +++ b/meta-oe/recipes-support/pcp/pcp_6.3.8.bb @@ -61,7 +61,7 @@ do_configure:prepend () { cp ${UNPACKDIR}/config.linux ${B} rm -rf ${S}/include/pcp/configsz.h rm -rf ${S}/include/pcp/platformsz.h - export SED=${TMPDIR}/hosttools/sed + export SED=${HOSTTOOLS_DIR}/sed export PYTHON=python3 }