mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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 <ravi@prevas.dk> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
parent
a835cf9a2a
commit
7880b21891
@ -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
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user