Skip to contentSkip to conversation

bash: build after busybox

PATCH New Gustavo Zacarias 2 participants 2 messages Jan 11, 2011 – Jan 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bash: build after busybox

Make sure bash builds after busybox when it's enabled to override busybox's /bin/sh symlink with bash.

---
 package/bash/bash.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
package/bash/bash.mk +5 -0
index d7bb699..2bcf0c4 100644
@@ -8,6 +8,11 @@ BASH_VERSION = 4.1
 BASH_SITE = $(BR2_GNU_MIRROR)/bash
 BASH_DEPENDENCIES = ncurses
 
+# Make sure we build after busybox so that /bin/sh links to bash
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+BASH_DEPENDENCIES += busybox
+endif
+
 # Save the old sh file/link if there is one and symlink bash->sh
 define BASH_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 bash: build after busybox

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Make sure bash builds after busybox when it's enabled to override Gustavo> busybox's /bin/sh symlink with bash.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard