Make ipmi whitelist optional

Not all users of ipmid want to use the whitelist. Or they want to have
their own that behaves differently. This change makes it so one can
disable the built-in whitelist so that OEMs can substitute their own
custom filtering or use none at all.

To disable the whitelist, pass --disable-ipmi-whitelist to configure.
This can be done in Yocto via a bbappend for phosphor-ipmi-host:

EXTRA_OECONF_append = " --disable-ipmi-whitelist"

Tested: Built with and without the whitelist enabled to ensure that the
        whitelist is present when expected to be.

Change-Id: I63f317b6c29ca73cc3296bb2fe38f836004ec35d
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
2 files changed