summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-04-29 23:59:48 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2021-05-07 22:01:20 +0300
commit10f19dcaafd2b86351cdcddce6d5ec52793e7387 (patch)
treec7ed32a3e60296e50cca123098c79c0b8793abda
parentf0e0698e68c7323126fd20db4268b66043c6c9aa (diff)
downloadopenbmc-10f19dcaafd2b86351cdcddce6d5ec52793e7387.tar.xz
phosphor-host-ipmid: Add option for configuring dynamic sensors
This makes it possible to enable or disable dynamic sensors. By default this is now disabled as it is a new feature that is not compatible with static sensor stacks. Change-Id: I55fea70642cee4d68153c402478483603805c601 Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r--meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
index 56df13bdd..5e937648e 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
@@ -21,6 +21,9 @@ def ipmi_whitelists(d):
whitelists = [ '{}-whitelist-native'.format(x) for x in whitelists ]
return ' '.join(whitelists)
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[dynamic-sensors] = "--enable-dynamic-sensors,--disable-dynamic-sensors"
+
DEPENDS += "autoconf-archive-native"
DEPENDS += "nlohmann-json"
DEPENDS += "phosphor-state-manager"