package/busybox: invert dependency with bc
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:
parent
b3e4901d60
commit
942e801b3d
@ -11,9 +11,4 @@ BC_DEPENDENCIES = host-flex
|
||||
BC_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
BC_LICENSE_FILES = COPYING COPYING.LIB
|
||||
|
||||
# Build after busybox so target ends up with bc's "dc" version
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
BC_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
|
||||
|
||||
# Packages that provide commands that may also be busybox applets:
|
||||
BUSYBOX_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_BC),bc) \
|
||||
$(if $(BR2_PACKAGE_BINUTILS),binutils) \
|
||||
$(if $(BR2_PACKAGE_COREUTILS),coreutils) \
|
||||
$(if $(BR2_PACKAGE_CPIO),cpio) \
|
||||
|
Loading…
Reference in New Issue
Block a user