package/busybox: invert dependency with bash

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yann E. MORIN 2018-07-08 11:46:13 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 942e801b3d
commit a40719477f
2 changed files with 2 additions and 3 deletions

View File

@ -6,9 +6,7 @@
BASH_VERSION = 4.4.18 BASH_VERSION = 4.4.18
BASH_SITE = $(BR2_GNU_MIRROR)/bash BASH_SITE = $(BR2_GNU_MIRROR)/bash
# Build after since bash is better than busybox shells BASH_DEPENDENCIES = ncurses readline host-bison
BASH_DEPENDENCIES = ncurses readline host-bison \
$(if $(BR2_PACKAGE_BUSYBOX),busybox)
BASH_CONF_OPTS = --with-installed-readline --without-bash-malloc BASH_CONF_OPTS = --with-installed-readline --without-bash-malloc
BASH_LICENSE = GPL-3.0+ BASH_LICENSE = GPL-3.0+
BASH_LICENSE_FILES = COPYING BASH_LICENSE_FILES = COPYING

View File

@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
# Packages that provide commands that may also be busybox applets: # Packages that provide commands that may also be busybox applets:
BUSYBOX_DEPENDENCIES = \ BUSYBOX_DEPENDENCIES = \
$(if $(BR2_PACKAGE_BASH),bash) \
$(if $(BR2_PACKAGE_BC),bc) \ $(if $(BR2_PACKAGE_BC),bc) \
$(if $(BR2_PACKAGE_BINUTILS),binutils) \ $(if $(BR2_PACKAGE_BINUTILS),binutils) \
$(if $(BR2_PACKAGE_COREUTILS),coreutils) \ $(if $(BR2_PACKAGE_COREUTILS),coreutils) \