fans: Remove presence-example recipe

Replace the fan-presence example recipe with a re-usable
"hardcoded" config recipe.

Change-Id: I47fba19eb9243d123a44e448ebf4322593074e1c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-phosphor/fans/phosphor-fan-presence-config-native.bb b/common/recipes-phosphor/fans/phosphor-fan-presence-config-native.bb
new file mode 100644
index 0000000..0eb3873
--- /dev/null
+++ b/common/recipes-phosphor/fans/phosphor-fan-presence-config-native.bb
@@ -0,0 +1,22 @@
+# Provides the config file for the phosphor-fan-presence application.
+# The default config file is empty.  To provide a real one,
+# append this recipe in a layer, add:
+# FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+# and provide a config file.
+
+SUMMARY = "Config file for phosphor-fan-presence"
+PR = "r1"
+
+inherit native
+inherit phosphor-fan
+inherit obmc-phosphor-license
+
+PROVIDES += "virtual/phosphor-fan-presence-config"
+
+SRC_URI += "file://config.yaml"
+
+S = "${WORKDIR}"
+
+do_install() {
+        install -D config.yaml ${D}${presence_datadir}/config.yaml
+}
diff --git a/common/recipes-phosphor/fans/phosphor-fan-presence-config/config.yaml b/common/recipes-phosphor/fans/phosphor-fan-presence-config/config.yaml
new file mode 100644
index 0000000..15a10f4
--- /dev/null
+++ b/common/recipes-phosphor/fans/phosphor-fan-presence-config/config.yaml
@@ -0,0 +1,3 @@
+# This file is a stub.  Consult
+# https://github.com/openbmc/phosphor-fan-presence
+# for file format description and examples.
diff --git a/common/recipes-phosphor/fans/phosphor-fan-presence-example-native.bb b/common/recipes-phosphor/fans/phosphor-fan-presence-example-native.bb
deleted file mode 100644
index 02e6816..0000000
--- a/common/recipes-phosphor/fans/phosphor-fan-presence-example-native.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "Phosphor Fan Presence Detection example data"
-PR = "r1"
-
-require phosphor-fan.inc
-
-inherit native
-inherit obmc-phosphor-license
-inherit phosphor-fan
-
-PROVIDES += "virtual/phosphor-fan-presence-config"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-    DEST=${D}${presence_datadir}
-    install -D ${S}/presence/example/fan-detect.yaml ${DEST}/config.yaml
-}