summaryrefslogtreecommitdiffstats
path: root/package/ipmiutil/ipmiutil.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-05-17 13:42:34 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-05-17 13:42:34 +0200
commit3a07f5e4fe2543f8fbee4cdc680318bc426bd83d (patch)
tree68cf78d0b6ea0ad2a11181c80c0dd48bef854d3c /package/ipmiutil/ipmiutil.mk
parent3ed9137fee544875fa6dca7c0369808ec4b274d4 (diff)
downloadbuildroot-3a07f5e4fe2543f8fbee4cdc680318bc426bd83d.tar.gz
buildroot-3a07f5e4fe2543f8fbee4cdc680318bc426bd83d.zip
ipmiutil: openssl is an optional dependency
So handle it as such (it is only needed for the lanplus functionality). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ipmiutil/ipmiutil.mk')
-rw-r--r--package/ipmiutil/ipmiutil.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk
index c7a8dd83be..f03ad9b394 100644
--- a/package/ipmiutil/ipmiutil.mk
+++ b/package/ipmiutil/ipmiutil.mk
@@ -10,10 +10,15 @@ IPMIUTIL_LICENSE = BSD-3c
IPMIUTIL_LICENSE_FILES = COPYING
# We're patching configure.ac
IPMIUTIL_AUTORECONF = YES
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
# tests against distro libcrypto so it might get a false positive when
# the openssl version is old, so force it off
# SKIP_MD2 can be used only if ALLOW_GNU is defined.
-IPMIUTIL_CONF_OPTS = CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2"
-IPMIUTIL_DEPENDENCIES = openssl
+IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2"
+IPMIUTIL_DEPENDENCIES += openssl
+else
+IPMIUTIL_CONF_OPTS += --disable-lanplus
+endif
$(eval $(autotools-package))
OpenPOWER on IntegriCloud