Lines Matching +full:build +full:- +full:without +full:- +full:default +full:- +full:features
1 SUMMARY = "An sh-compatible command language interpreter"
3 …itectures that support it, csh-like features such as history substitution and brace expansion, and…
6 DEPENDS = "ncurses bison-native virtual/libiconv"
8 inherit autotools gettext texinfo update-alternatives ptest
10 EXTRA_AUTORECONF += "--exclude=autoheader,aclocal"
11 EXTRA_OECONF = "--enable-job-control --without-bash-malloc bash_cv_wexitstatus_offset=8"
16 CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS"
19 CFLAGS += "-DHEREDOC_PIPESIZE=65536"
21 # Disable bracketed paste mode by default (enabled by default in bash 5.1). It
22 # causes a lot of garbage in non-interactive shells
23 CFLAGS += "-DBRACKETED_PASTE_DEFAULT=0"
32 RDEPENDS:${PN} += "base-files"
33 RDEPENDS:${PN}:class-nativesdk = ""
34 RDEPENDS:${PN}-ptest += "make coreutils perl sed shadow util-linux-setpriv"
36 RDEPENDS:${PN}-ptest:append:libc-glibc = " \
37 glibc-gconv-big5hkscs \
38 glibc-gconv-iso8859-1 \
39 glibc-utils \
40 locale-base-de-de \
41 locale-base-en-us \
42 locale-base-fr-fr \
43 locale-base-fr-fr.iso-8859-1 \
44 locale-base-zh-hk.big5-hkscs \
50 # Remove any leftover .build files. This ensures that bash always has the
52 rm -f ${B}/.build
61 rm -f ${B}/.build
67 mkdir -p ${D}${base_bindir}
74 sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \
75 -e "s,-I${WORKDIR}/\S* ,,g" \
76 -e 's|${DEBUG_PREFIX_MAP}||g' \
80 sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \
84 sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \
85 -e 's|${DEBUG_PREFIX_MAP}||g' \
86 -e 's:${HOSTTOOLS_DIR}/::g' \
87 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
91 do_install:append:class-target () {
95 do_install:append:class-nativesdk () {
100 make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test
105 install -D ${UNPACKDIR}/run-bash-ptests ${D}${PTEST_PATH}/run-bash-ptests
106 sed -i -e 's/^Makefile/_Makefile/' -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \
107 -e 's|${DEBUG_PREFIX_MAP}||g' \
108 -e 's|${BUILD_LDFLAGS}||g' \
109 -e "s,${S},,g" -e "s,${B},,g" -e "s,${STAGING_DIR_NATIVE},,g" \
110 -e 's:${HOSTTOOLS_DIR}/::g' \
111 -e 's:${UNINATIVE_LOADER}:${base_bindir}/false:g' \
120 …grep -q "^${base_bindir}/bash$" $D${sysconfdir}/shells || echo ${base_bindir}/bash >> $D${sysconfd…
124 printf "$(grep -v "^${base_bindir}/bash$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells
127 PACKAGES += "${PN}-bashbug"
129 FILES:${PN}-bashbug = "${bindir}/bashbug"
131 PACKAGE_BEFORE_PN += "${PN}-loadable"
132 RDEPENDS:${PN}-loadable += "${PN}"
133 FILES:${PN}-loadable += "${libdir}/bash/*"
137 RPROVIDES:${PN}:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/s…