pcp: use HOSTTOOLS_DIR variable instead of TMPDIR/hosttools
PATCH 1/1 pcp: use HOSTTOOLS_DIR variable instead of TMPDIR/hosttools
From: Rasmus Villemoes <[email protected]>
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/[email protected]/
Signed-off-by Rasmus Villemoes <[email protected]>
--- 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(-)
meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb +3 -3
@@ -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 }
meta-oe/recipes-support/pcp/pcp_6.3.8.bb +1 -1
@@ -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 }
Signature · 1 line
2.53.0