From f7d548b7919b8c0511d6c45d07700a88bd5ea836 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Tue, 21 Mar 2017 15:02:13 -0500 Subject: 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 --- meta-phosphor/conf/distro/include/phosphor-defaults.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta-phosphor/conf/distro') 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" -- cgit v1.2.3