diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-05-30 21:22:15 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-05-30 21:29:44 +0300 |
commit | 702cb7b62c96a179095ce0afe17d6e3ac1c205e8 (patch) | |
tree | b3415cfcf020bda949bd8c7d08511949a29c9a78 /meta-lenovo/conf | |
parent | 818fe5feb6b473daf17845617b75240b20935fbb (diff) | |
download | openbmc-702cb7b62c96a179095ce0afe17d6e3ac1c205e8.tar.xz |
meta-lenovo: add subtree
Brad Bishop (1):
Initial commit
Lisa Liu (2):
meta-lenovo: commit lenovo configuration files
meta-lenovo: common: react to features removal
Change-Id: I10e7d4599ee2e0a071e6b70520c129f17ba35d63
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-lenovo/conf')
-rw-r--r-- | meta-lenovo/conf/layer.conf | 18 | ||||
-rw-r--r-- | meta-lenovo/conf/machine/include/lenovo.inc | 14 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-lenovo/conf/layer.conf b/meta-lenovo/conf/layer.conf new file mode 100644 index 0000000000..30d2bbc8e8 --- /dev/null +++ b/meta-lenovo/conf/layer.conf @@ -0,0 +1,18 @@ +#"Copyright ? 2019-present Lenovo +#Licensed under BSD-3, see COPYING.BSD file for details." + + +# 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 += "lenovo-layer" +BBFILE_PATTERN_lenovo-layer = "" +LAYERVERSION_lenovo-layer = "1" +LAYERSERIES_COMPAT_lenovo-layer = "thud warrior" + +# Provide a variable that points the base of the lenovo layer. +LENOVOBASE = '${@os.path.normpath("${LAYERDIR}/")}' diff --git a/meta-lenovo/conf/machine/include/lenovo.inc b/meta-lenovo/conf/machine/include/lenovo.inc new file mode 100644 index 0000000000..9ae182a763 --- /dev/null +++ b/meta-lenovo/conf/machine/include/lenovo.inc @@ -0,0 +1,14 @@ +#"Copyright ? 2019-present Lenovo +#Licensed under BSD-3, see COPYING.BSD file for details." + +OBMC_MACHINE_FEATURES += "\ + obmc-phosphor-fan-mgmt \ + obmc-phosphor-chassis-mgmt \ + obmc-phosphor-flash-mgmt \ + obmc-host-ipmi \ + obmc-host-state-mgmt \ + obmc-chassis-state-mgmt \ + obmc-bmc-state-mgmt \ + " + +VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config" |