Skip to contentSkip to conversation

ipmitool: explicitly enable lanplus when selected

PATCH New Vicente Olivert Riera 2 participants 3 messages Apr 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ipmitool: explicitly enable lanplus when selected

---
 package/ipmitool/ipmitool.mk | 1 +
 1 file changed, 1 insertion(+)
package/ipmitool/ipmitool.mk +1 -0
index f476ae9..60ef2f8 100644
@@ -15,6 +15,7 @@ IPMITOOL_AUTORECONF = YES
 
 ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y)
 IPMITOOL_DEPENDENCIES += openssl
+IPMITOOL_CONF_OPTS += --enable-intf-lanplus
 else
 IPMITOOL_CONF_OPTS += --disable-intf-lanplus
 endif
Signature · 1 line
2.7.3
#1 lore raw

PATCH 2/2 ipmitool: add an option to enable/disable ipmishell

Fixes:

http://autobuild.buildroot.net/results/a62/a62e95619acb3d4d6be4425cf44a4628ac227494/

---
 package/ipmitool/Config.in   | 7 +++++++
 package/ipmitool/ipmitool.mk | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
package/ipmitool/Config.in +7 -0
index e9b5374..1da0ace 100644
@@ -23,4 +23,11 @@ config BR2_PACKAGE_IPMITOOL_IPMIEVD
 	help
 	  IPMI event daemon for sending events to syslog
 
+config BR2_PACKAGE_IPMITOOL_IPMISHELL
+	bool "ipmishell"
+	select BR2_PACKAGE_NCURSES
+	select BR2_PACKAGE_READLINE
+	help
+	  IPMI shell interface
+
 endif
package/ipmitool/ipmitool.mk +5 -2
index 60ef2f8..a246584 100644
@@ -20,8 +20,11 @@ else
 IPMITOOL_CONF_OPTS += --disable-intf-lanplus
 endif
 
-ifeq ($(BR2_PACKAGE_READLINE),y)
-IPMITOOL_DEPENDENCIES += readline
+ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y)
+IPMITOOL_DEPENDENCIES += ncurses readline
+IPMITOOL_CONF_OPTS += --enable-ipmishell
+else
+IPMITOOL_CONF_OPTS += --disable-ipmishell
 endif
 
 ifeq ($(BR2_PACKAGE_IPMITOOL_IPMIEVD),)
Signature · 1 line
2.7.3