summaryrefslogtreecommitdiff
path: root/package/iputils
diff options
context:
space:
mode:
authorMartin Bark <martin@barkynet.com>2016-02-25 13:23:32 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-25 21:36:29 +0100
commiteae103ea242af87dbde787837e672f471b10929c (patch)
tree40b4f77f5c79df56040823f99429426c20e9f313 /package/iputils
parentb7993116ab530e7100b08dc5ee9eefff3a651496 (diff)
package/iputils: removed dependency on openssl
iputils does not have to be built with openssl so remove selecting BR2_PACKAGE_OPENSSL and make the dependency optional Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/iputils')
-rw-r--r--package/iputils/Config.in1
-rw-r--r--package/iputils/iputils.mk8
2 files changed, 7 insertions, 2 deletions
diff --git a/package/iputils/Config.in b/package/iputils/Config.in
index 40580d236..c83e414cc 100644
--- a/package/iputils/Config.in
+++ b/package/iputils/Config.in
@@ -1,6 +1,5 @@
config BR2_PACKAGE_IPUTILS
bool "iputils"
- select BR2_PACKAGE_OPENSSL
depends on BR2_USE_MMU # fork()
help
This package is set of small useful utilities for Linux networking.
diff --git a/package/iputils/iputils.mk b/package/iputils/iputils.mk
index 6392decfd..953f1f552 100644
--- a/package/iputils/iputils.mk
+++ b/package/iputils/iputils.mk
@@ -16,7 +16,6 @@ IPUTILS_SITE = $(call github,iputils,iputils,$(IPUTILS_VERSION))
IPUTILS_LICENSE = GPLv2+, BSD-3c, BSD-4c
# Only includes a license file for BSD
IPUTILS_LICENSE_FILES = ninfod/COPYING
-IPUTILS_DEPENDENCIES = openssl
# Build after busybox so target ends up with this package's full
# versions of the applications instead of busybox applets.
@@ -34,6 +33,13 @@ else
IPUTILS_MAKE_OPTS += USE_CAP=no
endif
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+IPUTILS_MAKE_OPTS += USE_CRYPTO=yes
+IPUTILS_DEPENDENCIES += openssl
+else
+IPUTILS_MAKE_OPTS += USE_CRYPTO=no
+endif
+
define IPUTILS_BUILD_CMDS
$(MAKE) -C $(@D) $(IPUTILS_MAKE_OPTS)
endef