diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2017-02-21 16:22:33 +0530 |
---|---|---|
committer | Tom Joseph <tomjoseph@in.ibm.com> | 2017-02-21 16:24:52 +0530 |
commit | 51cb8eef48ffc2bbe165cb276a38c391b4185704 (patch) | |
tree | f7096bc2689c656dbea67c6642cfc6a1f8f2a583 /configure.ac | |
parent | 513d68e11cf6d392e847d39c743ce54ccaa0ebf7 (diff) | |
download | phosphor-host-ipmid-51cb8eef48ffc2bbe165cb276a38c391b4185704.tar.gz phosphor-host-ipmid-51cb8eef48ffc2bbe165cb276a38c391b4185704.zip |
Add environment variable for WHITELIST_CONF
Change-Id: Ib9bb50332c4203ccbbe72e3e5b9e641a51bdacbb
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index daba2c5..f9acc0f 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,11 @@ AS_IF([test "x$enable_oe_sdk" == "xyes"], AC_SUBST([OESDK_TESTCASE_FLAGS], [$testcase_flags]) ) +AC_ARG_VAR(WHITELIST_CONF, [Paths to IPMI whitelisted commands conf files. (default = ${srcdir}/host-ipmid-whitelist.conf)]) +if test -z "$WHITELIST_CONF"; then + WHITELIST_CONF=${srcdir}/host-ipmid-whitelist.conf +fi + # Create configured output AC_CONFIG_FILES([Makefile test/Makefile]) AC_OUTPUT |