2014-09-12 01:12:48 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ipmitool
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-14 09:47:57 +01:00
|
|
|
IPMITOOL_VERSION = 1.8.18
|
2014-09-12 01:12:48 +02:00
|
|
|
IPMITOOL_SOURCE = ipmitool-$(IPMITOOL_VERSION).tar.bz2
|
|
|
|
IPMITOOL_SITE = http://downloads.sourceforge.net/project/ipmitool/ipmitool/$(IPMITOOL_VERSION)
|
2017-03-30 15:43:38 +02:00
|
|
|
IPMITOOL_LICENSE = BSD-3-Clause
|
2014-09-12 01:12:48 +02:00
|
|
|
IPMITOOL_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y)
|
|
|
|
IPMITOOL_DEPENDENCIES += openssl
|
2016-04-26 14:02:39 +02:00
|
|
|
IPMITOOL_CONF_OPTS += --enable-intf-lanplus
|
2014-09-12 01:12:48 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
IPMITOOL_CONF_OPTS += --disable-intf-lanplus
|
2014-09-12 01:12:48 +02:00
|
|
|
endif
|
|
|
|
|
2017-07-20 03:22:06 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_USB),y)
|
|
|
|
IPMITOOL_CONF_OPTS += --enable-intf-usb
|
|
|
|
else
|
|
|
|
IPMITOOL_CONF_OPTS += --disable-intf-usb
|
|
|
|
endif
|
|
|
|
|
2016-04-26 14:02:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y)
|
|
|
|
IPMITOOL_DEPENDENCIES += ncurses readline
|
|
|
|
IPMITOOL_CONF_OPTS += --enable-ipmishell
|
|
|
|
else
|
|
|
|
IPMITOOL_CONF_OPTS += --disable-ipmishell
|
2014-09-12 01:12:48 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_IPMIEVD),)
|
|
|
|
define IPMITOOL_REMOVE_IPMIEVD
|
|
|
|
$(RM) -f $(TARGET_DIR)/usr/sbin/ipmievd
|
|
|
|
endef
|
|
|
|
IPMITOOL_POST_INSTALL_TARGET_HOOKS += IPMITOOL_REMOVE_IPMIEVD
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|