summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/conf
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-03-21 15:02:13 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-03-28 21:03:47 +0000
commitf7d548b7919b8c0511d6c45d07700a88bd5ea836 (patch)
treea901065a38539147a0bf268e38661cd3b7149ed9 /meta-phosphor/conf
parenta188e0d66de3faf50a142c99a7f3c4e31574ac92 (diff)
downloadtalos-openbmc-f7d548b7919b8c0511d6c45d07700a88bd5ea836.tar.gz
talos-openbmc-f7d548b7919b8c0511d6c45d07700a88bd5ea836.zip
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.inc8
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 f78ea3328..06995baa7 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"
OpenPOWER on IntegriCloud