Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
require conf/distro/openbmc-phosphor.conf
require conf/distro/include/phosphor-isolation.inc
GBMC_VERSION ?= "0.5.0.0"
DISTRO = "gbmc"
DISTRO_NAME = "gBMC (OpenBMC + Google customizations)"
DISTRO_VERSION = "gbmc-release-${GBMC_VERSION}"
EXTENDED_VERSION = "${DISTRO_VERSION}"
DISTROOVERRIDES .= ":gbmc"
# Possible values: "dev", "prod"
GBMC_CONFIG ?= "dev"
OVERRIDES .= ":${GBMC_CONFIG}:"
DISTRO_FEATURES:remove = "ldap"
DISTRO_FEATURES:remove = "slp"
# Required to get entity-manager to build with FruDevice service
DISTRO_FEATURES:append = " ipmi-fru"
# Disable u-boot shell for prod builds
DISTRO_FEATURES:append:prod = " disable-u-boot-shell"
WATCHDOG_PKG ?= "watchdog"
SANITY_TESTED_DISTROS:append = " Debian-rodete \n debian-rodete \n "
PREFERRED_PROVIDER_virtual/bmc-update ?= "inplace-gbmc-update"
# Provides reasonable data integrity and faster than sha*
FIT_HASH_ALG = "crc32"
OBMC_ORG_YAML_SUBDIRS += " com/google"
# Force the patches to not have any fuzz for gBMC
ERROR_QA:append = " patch-fuzz"
IGPS_MACHINE:npcm8xx = "Google"
# Remove dependencies on python3-core when using nftables
PACKAGECONFIG:remove:pn-nftables = "python"
+18
View File
@@ -0,0 +1,18 @@
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILES_DYNAMIC += " \
aspeed-layer:${LAYERDIR}/dynamic-layers/aspeed-layer/recipes-*/*/*.bb \
aspeed-layer:${LAYERDIR}/dynamic-layers/aspeed-layer/recipes-*/*/*.bbappend \
nuvoton-layer:${LAYERDIR}/dynamic-layers/nuvoton-layer/recipes-*/*/*.bb \
nuvoton-layer:${LAYERDIR}/dynamic-layers/nuvoton-layer/recipes-*/*/*.bbappend \
"
BBFILE_COLLECTIONS += "google-layer"
BBFILE_PATTERN_google-layer := "^${LAYERDIR}/"
LAYERVERSION_google-layer = "1"
LAYERSERIES_COMPAT_google-layer = "langdale mickledore"
LAYERDEPENDS_google-layer += "core phosphor-layer tpm-layer"