diff options
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 2fe0c6b574..0fd5af9797 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc @@ -4,10 +4,11 @@ SECTION = "base/shell" DEPENDS = "ncurses bison-native" -inherit autotools-brokensep gettext texinfo update-alternatives ptest +inherit autotools gettext texinfo update-alternatives ptest PARALLEL_MAKE = "" +EXTRA_AUTORECONF += "--exclude=autoheader" EXTRA_OECONF = "--enable-job-control" ALTERNATIVE_${PN} = "sh" @@ -15,8 +16,6 @@ ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash" ALTERNATIVE_PRIORITY = "100" -export AUTOHEADER = "true" - RDEPENDS_${PN} += "base-files" RDEPENDS_${PN}_class-nativesdk = "" RDEPENDS_${PN}-ptest += "make" @@ -38,6 +37,10 @@ do_install_append () { mv ${D}${bindir}/bash ${D}${base_bindir} fi } +do_install_append_class-target () { + # Clean host path in bashbug + sed -i -e "s,${STAGING_DIR_TARGET},,g" ${D}${bindir}/bashbug +} do_install_ptest () { make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test |