Skip to contentSkip to conversation

ipmitool: Add option to enable usb interface

PATCH New Samuel Mendoza-Jonas 2 participants 2 messages Jul 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/ipmitool/Config.in   | 6 ++++++
 package/ipmitool/ipmitool.mk | 6 ++++++
 2 files changed, 12 insertions(+)
package/ipmitool/Config.in +6 -0
index 1da0ace16f..32c7d5c275 100644
@@ -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
package/ipmitool/ipmitool.mk +6 -0
index b47209dba4..5254668877 100644
@@ -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
Signature · 1 line
2.13.3
#1 lore raw

PATCH 1/1 ipmitool: Add option to enable usb interface

Hello,

Quoted 8 lines · Samuel Mendoza-Jonas

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

---
 package/ipmitool/Config.in   | 6 ++++++
 package/ipmitool/ipmitool.mk | 6 ++++++
 2 files changed, 12 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com