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>
This commit is contained in:
parent
b7993116ab
commit
eae103ea24
@ -1,6 +1,5 @@
|
|||||||
config BR2_PACKAGE_IPUTILS
|
config BR2_PACKAGE_IPUTILS
|
||||||
bool "iputils"
|
bool "iputils"
|
||||||
select BR2_PACKAGE_OPENSSL
|
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
help
|
help
|
||||||
This package is set of small useful utilities for Linux networking.
|
This package is set of small useful utilities for Linux networking.
|
||||||
|
@ -16,7 +16,6 @@ IPUTILS_SITE = $(call github,iputils,iputils,$(IPUTILS_VERSION))
|
|||||||
IPUTILS_LICENSE = GPLv2+, BSD-3c, BSD-4c
|
IPUTILS_LICENSE = GPLv2+, BSD-3c, BSD-4c
|
||||||
# Only includes a license file for BSD
|
# Only includes a license file for BSD
|
||||||
IPUTILS_LICENSE_FILES = ninfod/COPYING
|
IPUTILS_LICENSE_FILES = ninfod/COPYING
|
||||||
IPUTILS_DEPENDENCIES = openssl
|
|
||||||
|
|
||||||
# Build after busybox so target ends up with this package's full
|
# Build after busybox so target ends up with this package's full
|
||||||
# versions of the applications instead of busybox applets.
|
# versions of the applications instead of busybox applets.
|
||||||
@ -34,6 +33,13 @@ else
|
|||||||
IPUTILS_MAKE_OPTS += USE_CAP=no
|
IPUTILS_MAKE_OPTS += USE_CAP=no
|
||||||
endif
|
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
|
define IPUTILS_BUILD_CMDS
|
||||||
$(MAKE) -C $(@D) $(IPUTILS_MAKE_OPTS)
|
$(MAKE) -C $(@D) $(IPUTILS_MAKE_OPTS)
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user