diff options
Diffstat (limited to 'meta')
-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" |