diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-02-23 04:50:13 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-24 19:51:24 +0300 |
commit | 3217b271500e887b01241da3f4f43f27b9c6ac5d (patch) | |
tree | 41004653feb9f288dfaec7fb96f56dc3f14874f0 /meta-phosphor/conf | |
parent | ae46d563088822a0100cae5f5d9a6192afc1d5c8 (diff) | |
download | openbmc-3217b271500e887b01241da3f4f43f27b9c6ac5d.tar.xz |
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')
-rw-r--r-- | meta-phosphor/conf/distro/include/phosphor-defaults.inc | 7 |
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 |