ipmitool: Add option to enable usb interface

Since ipmitool v1.8.17 usb support is turned off by default. Add a
config option to enable support for the usb interface.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Sam Mendoza-Jonas 2017-07-20 11:22:06 +10:00 committed by Thomas Petazzoni
parent 3aaea7ace2
commit dd49792886
2 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,12 @@ config BR2_PACKAGE_IPMITOOL_LANPLUS
device using the OpenIPMI ipmi_si kernel module, or if using the
legacy IPMI v1.5 RMCP LAN interface.
config BR2_PACKAGE_IPMITOOL_USB
bool "enable usb interface"
help
Enables the IPMI USB interface typically used to send inband
IPMI commands to the BMC of a server.
config BR2_PACKAGE_IPMITOOL_IPMIEVD
bool "ipmievd"
help

View File

@ -17,6 +17,12 @@ else
IPMITOOL_CONF_OPTS += --disable-intf-lanplus
endif
ifeq ($(BR2_PACKAGE_IPMITOOL_USB),y)
IPMITOOL_CONF_OPTS += --enable-intf-usb
else
IPMITOOL_CONF_OPTS += --disable-intf-usb
endif
ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y)
IPMITOOL_DEPENDENCIES += ncurses readline
IPMITOOL_CONF_OPTS += --enable-ipmishell