diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-08-23 13:14:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-24 13:48:10 +0100 |
commit | 64549ce588e353f86ecce3fb66f460e730fc6200 (patch) | |
tree | 44cff5c7bba54f605b2d54a3da226b2b9dd8e18e /meta/recipes-support/attr | |
parent | 26b6995f615fa787c1b01386daf1049585ca006f (diff) | |
download | poky-64549ce588e353f86ecce3fb66f460e730fc6200.tar.gz |
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>
Diffstat (limited to 'meta/recipes-support/attr')
-rw-r--r-- | meta/recipes-support/attr/attr.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index e8b5d054b3..24ef5adfd3 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
@@ -32,6 +32,12 @@ do_install_ptest() { | |||
32 | do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \ | 32 | do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \ |
33 | done | 33 | done |
34 | sed -e 's|; @echo|; echo|' -i ${D}${PTEST_PATH}/test/Makefile | 34 | sed -e 's|; @echo|; echo|' -i ${D}${PTEST_PATH}/test/Makefile |
35 | |||
36 | # Remove any build host references | ||
37 | sed -e "s:--sysroot=${STAGING_DIR_TARGET}::g" \ | ||
38 | -e 's:${HOSTTOOLS_DIR}/::g' \ | ||
39 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | ||
40 | -i ${D}${PTEST_PATH}/include/builddefs | ||
35 | } | 41 | } |
36 | 42 | ||
37 | RDEPENDS_${PN}-ptest = "attr coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix" | 43 | RDEPENDS_${PN}-ptest = "attr coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix" |