summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Mendoza-Jonas <sam@mendozajonas.com>2017-07-20 11:22:06 +1000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-20 23:05:22 +0200
commitdd4979288666d3dc852d34c4b5d22d78f0221d0a (patch)
tree7d24751cff82f52afccf136adbe08d9a53478b31
parent3aaea7ace2a24d0d577b553613a86013c384b1c3 (diff)
downloadbuildroot-dd4979288666d3dc852d34c4b5d22d78f0221d0a.tar.gz
buildroot-dd4979288666d3dc852d34c4b5d22d78f0221d0a.zip
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>
-rw-r--r--package/ipmitool/Config.in6
-rw-r--r--package/ipmitool/ipmitool.mk6
2 files changed, 12 insertions, 0 deletions
diff --git a/package/ipmitool/Config.in b/package/ipmitool/Config.in
index 1da0ace16f..554a12cbd9 100644
--- a/package/ipmitool/Config.in
+++ b/package/ipmitool/Config.in
@@ -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
diff --git a/package/ipmitool/ipmitool.mk b/package/ipmitool/ipmitool.mk
index b47209dba4..5254668877 100644
--- a/package/ipmitool/ipmitool.mk
+++ b/package/ipmitool/ipmitool.mk
@@ -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
OpenPOWER on IntegriCloud