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, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 1d08526c9e..a05b987b87 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -14,9 +14,11 @@ EXTRA_OECONF = "--enable-job-control --without-bash-malloc"
14# This is what other major distros do. And this is what we wanted. See bug#5359 and bug#7137. 14# This is what other major distros do. And this is what we wanted. See bug#5359 and bug#7137.
15CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS" 15CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS"
16 16
17ALTERNATIVE_${PN} = "sh" 17ALTERNATIVE_${PN} = "bash sh"
18ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash"
19ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash"
18ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" 20ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
19ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash" 21ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash.${BPN}"
20ALTERNATIVE_PRIORITY = "100" 22ALTERNATIVE_PRIORITY = "100"
21 23
22RDEPENDS_${PN} += "base-files" 24RDEPENDS_${PN} += "base-files"