summaryrefslogtreecommitdiff
path: root/meta-tyan/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-tyan/conf')
-rw-r--r--meta-tyan/conf/layer.conf11
-rw-r--r--meta-tyan/conf/machine/include/tyan.inc20
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-tyan/conf/layer.conf b/meta-tyan/conf/layer.conf
new file mode 100644
index 000000000..e0bd4cac7
--- /dev/null
+++ b/meta-tyan/conf/layer.conf
@@ -0,0 +1,11 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/meta-common/recipes-*/*/*.bb \
+ ${LAYERDIR}/meta-common/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "tyan-layer"
+BBFILE_PATTERN_tyan-layer = "^${LAYERDIR}/"
+LAYERSERIES_COMPAT_tyan-layer = "hardknott honister"
+
diff --git a/meta-tyan/conf/machine/include/tyan.inc b/meta-tyan/conf/machine/include/tyan.inc
new file mode 100644
index 000000000..3180704c2
--- /dev/null
+++ b/meta-tyan/conf/machine/include/tyan.inc
@@ -0,0 +1,20 @@
+MACHINE_FEATURES += "\
+ obmc-bmc-state-mgmt \
+ obmc-chassis-state-mgmt \
+ obmc-host-ipmi \
+ obmc-host-state-mgmt \
+ obmc-phosphor-chassis-mgmt \
+ obmc-phosphor-fan-mgmt \
+ obmc-phosphor-flash-mgmt \
+ "
+
+VIRTUAL-RUNTIME_obmc-inventory-manager = "entity-manager"
+PREFERRED_PROVIDER_virtual/obmc-inventory-data = "entity-manager"
+
+VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
+VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
+
+PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-tyan-apps"
+PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-tyan-apps"
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-tyan-apps"