[OE-core] [PATCH 0/8] ptest: Strip build host paths from any installed Makefile
Douglas Royds
douglas.royds at taitradio.com
Wed Nov 28 04:53:08 UTC 2018
PTEST_BUILD_HOST_FILES
A common pattern for ptest is to install a Makefile that provides a make check
target. These generated Makefiles are normally full of build host paths, to
hosttools, and to files and scripts within the source or build tree. They also
commonly include the CFLAGS and CPPFLAGS. None of these build host paths
can possibly work on-target, so stripping them has no effect on the success of
the resulting ptests.
PTEST_BUILD_HOST_FILES is a whitespace-separated list of filenames within the
PTEST_PATH that should have build host paths stripped from them at
do_install_ptest_base time. It defaults to "Makefile".
PTEST_BUILD_HOST_PATTERN
Several packages install Makefiles or other build host
configuration files for ptest so that they can run `make check`, for instance.
These build host files commonly include paths and versions of build host tools,
(eg. rpm or perl) whose presence and version depends on the build host distro.
PTEST_BUILD_HOST_PATTERN is an extended regex pattern used to
optionally strip lines from installed PTEST_BUILD_HOST_FILES.
Douglas Royds (8):
ptest: Reproducibility: Strip build host paths from any installed Makefile
ptest: Optionally strip build host tool info from installed files
openssl ptest: Strip build host paths from configdata.pm
openssl: Strip perl version from installed ptest configdata.pm file
acl: Use install instead of cp
acl: Strip build host tool details from installed ptest file
attr: Strip build host paths and tool versions from ptest files
strace: Strip build host tool details from installed ptest Makefile
meta/classes/ptest.bbclass | 18 ++++++++++++++++
.../openssl/openssl_1.1.1a.bb | 2 ++
meta/recipes-devtools/strace/strace_4.25.bb | 11 +---------
meta/recipes-support/attr/acl_2.2.52.bb | 21 ++++++++-----------
meta/recipes-support/attr/attr.inc | 9 +++-----
5 files changed, 33 insertions(+), 28 deletions(-)
--
2.17.1
More information about the Openembedded-core
mailing list