summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash/bash.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
-rw-r--r--meta/recipes-extended/bash/bash.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 6c94a24b69..92916d9a6a 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -28,6 +28,8 @@ RDEPENDS_${PN}-ptest += "make"
28USERADD_PACKAGES = "${PN}-ptest" 28USERADD_PACKAGES = "${PN}-ptest"
29USERADD_PARAM_${PN}-ptest = "--create-home --user-group test" 29USERADD_PARAM_${PN}-ptest = "--create-home --user-group test"
30 30
31CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}"
32
31do_configure_prepend () { 33do_configure_prepend () {
32 if [ ! -e ${S}/acinclude.m4 ]; then 34 if [ ! -e ${S}/acinclude.m4 ]; then
33 cat ${S}/aclocal.m4 > ${S}/acinclude.m4 35 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
@@ -70,4 +72,8 @@ PACKAGES += "${PN}-bashbug"
70FILES_${PN} = "${bindir}/bash ${base_bindir}/bash.bash" 72FILES_${PN} = "${bindir}/bash ${base_bindir}/bash.bash"
71FILES_${PN}-bashbug = "${bindir}/bashbug" 73FILES_${PN}-bashbug = "${bindir}/bashbug"
72 74
75PACKAGE_BEFORE_PN += "${PN}-loadable"
76RDEPENDS_${PN}-loadable += "${PN}"
77FILES_${PN}-loadable += "${libdir}/bash/*"
78
73RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/bash', '', d)}" 79RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/bash', '', d)}"