diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2018-07-08 11:46:12 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-07-08 13:08:06 +0200 |
commit | 942e801b3d1236c7fab068c51be07e4e76b7d4a1 (patch) | |
tree | c02c05645d0e81e515e653af16724ecf31d3a69f | |
parent | b3e4901d60f9f1f017aeb1ec209aab44f67ce8ef (diff) | |
download | buildroot-942e801b3d1236c7fab068c51be07e4e76b7d4a1.tar.gz buildroot-942e801b3d1236c7fab068c51be07e4e76b7d4a1.zip |
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>
-rw-r--r-- | package/bc/bc.mk | 5 | ||||
-rw-r--r-- | package/busybox/busybox.mk | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/package/bc/bc.mk b/package/bc/bc.mk index a6446cef66..ee0e43848b 100644 --- a/package/bc/bc.mk +++ b/package/bc/bc.mk @@ -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)) diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index d920987d11..75a2dc4c6d 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -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) \ |