From 10f19dcaafd2b86351cdcddce6d5ec52793e7387 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 29 Apr 2021 13:59:48 -0700 Subject: 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 --- meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-phosphor/recipes-phosphor/ipmi') 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" -- cgit v1.2.3