diff options
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
| -rw-r--r-- | meta/recipes-extended/bash/bash.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 7832ad052b..e541161c75 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
| @@ -74,7 +74,8 @@ do_install:append () { | |||
| 74 | mv ${D}${bindir}/bash ${D}${base_bindir} | 74 | mv ${D}${bindir}/bash ${D}${base_bindir} |
| 75 | fi | 75 | fi |
| 76 | } | 76 | } |
| 77 | do_install:append:class-target () { | 77 | |
| 78 | fix_absolute_paths () { | ||
| 78 | # Clean buildhost references in bashbug | 79 | # Clean buildhost references in bashbug |
| 79 | sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ | 80 | sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ |
| 80 | -e "s,-I${WORKDIR}/\S* ,,g" \ | 81 | -e "s,-I${WORKDIR}/\S* ,,g" \ |
| @@ -93,6 +94,14 @@ do_install:append:class-target () { | |||
| 93 | ${D}${libdir}/bash/Makefile.inc | 94 | ${D}${libdir}/bash/Makefile.inc |
| 94 | } | 95 | } |
| 95 | 96 | ||
| 97 | do_install:append:class-target () { | ||
| 98 | fix_absolute_paths | ||
| 99 | } | ||
| 100 | |||
| 101 | do_install:append:class-nativesdk () { | ||
| 102 | fix_absolute_paths | ||
| 103 | } | ||
| 104 | |||
| 96 | do_install_ptest () { | 105 | do_install_ptest () { |
| 97 | make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test | 106 | make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test |
| 98 | cp ${B}/Makefile ${D}${PTEST_PATH} | 107 | cp ${B}/Makefile ${D}${PTEST_PATH} |
