summaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2018-07-08 11:45:46 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2018-07-08 12:54:16 +0200
commit9f9235d35c7bce5cc7ca87b8cb1c6c92a0b2c15c (patch)
treef0266f563e23681366cfdd13394e0241a159af56 /package/busybox
parent2319270de79e01ceb833baa909f2c5723d1926af (diff)
downloadbuildroot-9f9235d35c7bce5cc7ca87b8cb1c6c92a0b2c15c.tar.gz
buildroot-9f9235d35c7bce5cc7ca87b8cb1c6c92a0b2c15c.zip
package/busybox: invert dependency with nmap
We only need that dependency when nmap's ncat is enabled. For consistency, we add a dependency on nmap, not a suboption of it, to have a dependency list in busybox that is only about packages, and directly associates the upper-case package variable to the lower-case package name, e.g. NMAP <-> nmap. Thus, if BR2_PACKAGE_NMAP_NCAT is selected, we have a redundant dependency. But that doesn't hurt and it really simplifies things. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Reviewed-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/busybox.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 1d3d202f53..55c3d25b8e 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_NMAP),nmap) \
$(if $(BR2_PACKAGE_NTP),ntp) \
$(if $(BR2_PACKAGE_PCIUTILS),pciutils) \
$(if $(BR2_PACKAGE_PROCPS_NG),procps-ng) \
OpenPOWER on IntegriCloud