summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/conf/distro/include/phosphor-defaults.inc
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-02-22 20:50:13 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-02-24 16:51:24 +0000
commit3217b271500e887b01241da3f4f43f27b9c6ac5d (patch)
tree41004653feb9f288dfaec7fb96f56dc3f14874f0 /meta-phosphor/conf/distro/include/phosphor-defaults.inc
parentae46d563088822a0100cae5f5d9a6192afc1d5c8 (diff)
downloadtalos-openbmc-3217b271500e887b01241da3f4f43f27b9c6ac5d.tar.gz
talos-openbmc-3217b271500e887b01241da3f4f43f27b9c6ac5d.zip
Change how hwmon.pl is invoked for MRW systems
This minor tweak removes the need for MRW using systems to append the phosphor-hwmon recipe in their layer. Change-Id: I3d9dcfff452e26d191df37ae7d759c6c2c3f2cd4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/conf/distro/include/phosphor-defaults.inc')
-rw-r--r--meta-phosphor/conf/distro/include/phosphor-defaults.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
index 64309d15a..28e04ef3a 100644
--- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc
+++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
@@ -54,6 +54,13 @@ PREFERRED_PROVIDER_virtual/obmc-system-mgmt ?= "obmc-phosphor-sysd"
PREFERRED_PROVIDER_virtual/obmc-user-mgmt ?= "obmc-phosphor-user"
PREFERRED_PROVIDER_virtual/obmc-wsgihost ?= "phosphor-gevent"
+# phosphor-hwmon-config
+#
+# The phosphor-hwmon package can have its configuration generated
+# automatically if the MRW feature is enabled.
+VIRTUAL-RUNTIME_phosphor-hwmon-config ?= \
+ "${@cf_enabled(d, 'obmc-mrw', 'phosphor-hwmon-config-mrw')}"
+
# virtual/phosphor-ipmi-fru-hostfw-config
#
# The phosphor-ipmi-fru application is data-driven and requires an input
OpenPOWER on IntegriCloud