All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] ipmitool: add an option to enable/disable ipmishell
Date: Tue, 26 Apr 2016 13:02:40 +0100	[thread overview]
Message-ID: <1461672160-1596-2-git-send-email-Vincent.Riera@imgtec.com> (raw)
In-Reply-To: <1461672160-1596-1-git-send-email-Vincent.Riera@imgtec.com>

Fixes:

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

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/ipmitool/Config.in   | 7 +++++++
 package/ipmitool/ipmitool.mk | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/package/ipmitool/Config.in b/package/ipmitool/Config.in
index e9b5374..1da0ace 100644
--- a/package/ipmitool/Config.in
+++ b/package/ipmitool/Config.in
@@ -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
diff --git a/package/ipmitool/ipmitool.mk b/package/ipmitool/ipmitool.mk
index 60ef2f8..a246584 100644
--- a/package/ipmitool/ipmitool.mk
+++ b/package/ipmitool/ipmitool.mk
@@ -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),)
-- 
2.7.3

  reply	other threads:[~2016-04-26 12:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-26 12:02 [Buildroot] [PATCH 1/2] ipmitool: explicitly enable lanplus when selected Vicente Olivert Riera
2016-04-26 12:02 ` Vicente Olivert Riera [this message]
2016-04-26 20:37 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461672160-1596-2-git-send-email-Vincent.Riera@imgtec.com \
    --to=vincent.riera@imgtec.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.