mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
attr: improve reproducibility
Remove all host build references from the attr-ptest package. (From OE-Core rev: 0a181e26d09978bff850bc6b303de6053f7c53df) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
26b6995f61
commit
64549ce588
@@ -32,6 +32,12 @@ do_install_ptest() {
|
||||
do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \
|
||||
done
|
||||
sed -e 's|; @echo|; echo|' -i ${D}${PTEST_PATH}/test/Makefile
|
||||
|
||||
# Remove any build host references
|
||||
sed -e "s:--sysroot=${STAGING_DIR_TARGET}::g" \
|
||||
-e 's:${HOSTTOOLS_DIR}/::g' \
|
||||
-e 's:${RECIPE_SYSROOT_NATIVE}::g' \
|
||||
-i ${D}${PTEST_PATH}/include/builddefs
|
||||
}
|
||||
|
||||
RDEPENDS_${PN}-ptest = "attr coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix"
|
||||
|
||||
Reference in New Issue
Block a user