diff options
Diffstat (limited to 'meta-inspur/conf')
-rw-r--r-- | meta-inspur/conf/layer.conf | 14 | ||||
-rw-r--r-- | meta-inspur/conf/machine/include/inspur.inc | 21 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-inspur/conf/layer.conf b/meta-inspur/conf/layer.conf new file mode 100644 index 000000000..566d63ddc --- /dev/null +++ b/meta-inspur/conf/layer.conf @@ -0,0 +1,14 @@ +# 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 += "inspur-layer" +BBFILE_PATTERN_inspur-layer = "" +LAYERVERSION_inspur-layer = "1" +LAYERSERIES_COMPAT_inspur-layer = "sumo" + +INSPURBASE = '${@os.path.normpath("${LAYERDIR}/")}' + diff --git a/meta-inspur/conf/machine/include/inspur.inc b/meta-inspur/conf/machine/include/inspur.inc new file mode 100644 index 000000000..d90a01ad2 --- /dev/null +++ b/meta-inspur/conf/machine/include/inspur.inc @@ -0,0 +1,21 @@ +OBMC_MACHINE_FEATURES += "\ + obmc-phosphor-fan-mgmt \ + obmc-phosphor-chassis-mgmt \ + obmc-phosphor-flash-mgmt \ + obmc-host-ipmi \ + obmc-host-ctl \ + obmc-host-state-mgmt \ + obmc-chassis-state-mgmt \ + obmc-bmc-state-mgmt \ + " + +VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config" + +PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-inspur-apps" +PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-inspur-apps" +PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-inspur-apps" +PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-inspur-apps" +PREFERRED_PROVIDER_virtual/obmc-host-ctl ?= "obmc-op-control-host" +PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= "${VIRTUAL-RUNTIME_skeleton_workbook}" +PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs" +#PREFERRED_PROVIDER_virtual/obmc-gpio-monitor ?= "phosphor-gpio-monitor" |