diff options
Diffstat (limited to 'meta/recipes-support/attr')
-rw-r--r-- | meta/recipes-support/attr/attr.inc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index 6033934401..5d6929fe50 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
@@ -42,10 +42,13 @@ do_install_ptest() { | |||
42 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ | 42 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ |
43 | -i ${D}${PTEST_PATH}/Makefile | 43 | -i ${D}${PTEST_PATH}/Makefile |
44 | 44 | ||
45 | sed -i "s|^srcdir =.*|srcdir = \.|g" ${D}${PTEST_PATH}/Makefile | 45 | sed -e "s|^srcdir =.*|srcdir = .|" \ |
46 | sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" ${D}${PTEST_PATH}/Makefile | 46 | -e "s|^abs_srcdir =.*|abs_srcdir = .|" \ |
47 | sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g" ${D}${PTEST_PATH}/Makefile | 47 | -e "s|^abs_top_srcdir =.*|abs_top_srcdir = ..|" \ |
48 | sed -i "s|^Makefile:.*|Makefile:|g" ${D}${PTEST_PATH}/Makefile | 48 | -e "s|^Makefile:.*|Makefile:|" \ |
49 | -e "/^TEST_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \ | ||
50 | -i ${D}${PTEST_PATH}/Makefile | ||
51 | |||
49 | cp -rf ${S}/build-aux/ ${D}${PTEST_PATH} | 52 | cp -rf ${S}/build-aux/ ${D}${PTEST_PATH} |
50 | cp -rf ${S}/test/ ${D}${PTEST_PATH} | 53 | cp -rf ${S}/test/ ${D}${PTEST_PATH} |
51 | } | 54 | } |