Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] ipmitool: Add option to enable usb interface
@ 2017-07-20  1:22 Samuel Mendoza-Jonas
  2017-07-20 21:05 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Mendoza-Jonas @ 2017-07-20  1:22 UTC (permalink / raw)
  To: buildroot

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>
---
 package/ipmitool/Config.in   | 6 ++++++
 package/ipmitool/ipmitool.mk | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/package/ipmitool/Config.in b/package/ipmitool/Config.in
index 1da0ace16f..32c7d5c275 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
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] ipmitool: Add option to enable usb interface
  2017-07-20  1:22 [Buildroot] [PATCH] ipmitool: Add option to enable usb interface Samuel Mendoza-Jonas
@ 2017-07-20 21:05 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-07-20 21:05 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 20 Jul 2017 11:22:06 +1000, Samuel Mendoza-Jonas wrote:
> 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>
> ---
>  package/ipmitool/Config.in   | 6 ++++++
>  package/ipmitool/ipmitool.mk | 6 ++++++
>  2 files changed, 12 insertions(+)

Applied to master, thanks.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-20 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20  1:22 [Buildroot] [PATCH] ipmitool: Add option to enable usb interface Samuel Mendoza-Jonas
2017-07-20 21:05 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox