diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-03-21 23:02:13 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-29 00:03:47 +0300 |
commit | f7d548b7919b8c0511d6c45d07700a88bd5ea836 (patch) | |
tree | a901065a38539147a0bf268e38661cd3b7149ed9 /meta-phosphor/conf | |
parent | a188e0d66de3faf50a142c99a7f3c4e31574ac92 (diff) | |
download | openbmc-f7d548b7919b8c0511d6c45d07700a88bd5ea836.tar.xz |
Provide the phosphor-fan-presence config YAML
On MRW based systems, this YAML will be generated from the
MRW XML, otherwise the example YAML provided by the
phosphor-fan-presence repository will be used in the build.
Change-Id: I1bf914a7e26067f62f2b2bf8b7ba1ba43591c5dc
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-phosphor/conf')
-rw-r--r-- | meta-phosphor/conf/distro/include/phosphor-defaults.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc index f78ea33288..06995baa7d 100644 --- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc +++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc @@ -126,5 +126,13 @@ PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory ?= \ PREFERRED_PROVIDER_virtual/phosphor-logging-callouts ?= \ "${@cf_enabled(d, 'obmc-mrw', 'phosphor-logging-callouts-mrw-native', 'phosphor-logging-callouts-example-native')}" +# The phosphor-fan-presence application is data driven and requires an +# input YAML that maps fans to their tach sensors. +# This virtual is a native recipe that provides that mapping by installing +# configuration files in the format and native sysroot location expected by +# the phosphor-fan-presence build process in the native sysroot. +PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config ?= \ + "${@cf_enabled(d, 'obmc-mrw', 'phosphor-fan-presence-mrw-native', 'phosphor-fan-presence-example-native')}" + OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project" OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project" |