ipmitool: add an option to enable/disable ipmishell

Fixes:

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

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Vicente Olivert Riera 2016-04-26 13:02:40 +01:00 committed by Thomas Petazzoni
parent 9db87dce06
commit 6f48085ecf
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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),)