Initial commit
This commit is contained in:
@@ -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}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "gbs-layer"
|
||||
BBFILE_PATTERN_gbs-layer := "^${LAYERDIR}/"
|
||||
LAYERSERIES_COMPAT_gbs-layer = "langdale mickledore"
|
||||
LAYERDEPENDS_gbs-layer = "core phosphor-layer google-layer quanta-layer"
|
||||
@@ -0,0 +1,58 @@
|
||||
KMACHINE = "nuvoton"
|
||||
KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gbs.dtb"
|
||||
|
||||
UBOOT_MACHINE = "PolegSVB_spinor_minimal_config"
|
||||
UBOOT_DEVICETREE = "nuvoton-npcm730-gbs"
|
||||
IGPS_MACHINE = "GBS"
|
||||
|
||||
MACHINEOVERRIDES .= ":npcm7xx"
|
||||
|
||||
require conf/machine/include/npcm7xx.inc
|
||||
require conf/machine/include/obmc-bsp-common.inc
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS0"
|
||||
GBMC_NCSI_IF_NAME = "eth0"
|
||||
|
||||
# Overwrite flash offsets
|
||||
FLASH_KERNEL_OFFSET:flash-65536 = "2048"
|
||||
FLASH_ROFS_OFFSET:flash-65536 = "7168"
|
||||
FLASH_RWFS_OFFSET:flash-65536 = "62400"
|
||||
FLASH_SIZE = "65536"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
|
||||
PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "gbs-led-manager-config-native"
|
||||
PREFERRED_PROVIDER_virtual/bios-update = "gbs-bios-update"
|
||||
PREFERRED_PROVIDER_virtual/bmc-update = "gbs-bmc-update"
|
||||
|
||||
# Remove unneeded binaries from image
|
||||
IMAGE_FEATURES:remove = "obmc-bmc-state-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-bmcweb"
|
||||
IMAGE_FEATURES:remove = "obmc-chassis-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-chassis-state-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-console"
|
||||
IMAGE_FEATURES:remove = "obmc-devtools"
|
||||
IMAGE_FEATURES:remove = "obmc-fan-control"
|
||||
IMAGE_FEATURES:remove = "obmc-fan-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-flash-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-fru-ipmi"
|
||||
IMAGE_FEATURES:remove = "obmc-health-monitor"
|
||||
IMAGE_FEATURES:remove = "obmc-host-ipmi"
|
||||
IMAGE_FEATURES:remove = "obmc-host-state-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-ikvm"
|
||||
IMAGE_FEATURES:remove = "obmc-inventory"
|
||||
IMAGE_FEATURES:remove = "obmc-leds"
|
||||
IMAGE_FEATURES:remove = "obmc-logging-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-remote-logging-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-rng"
|
||||
IMAGE_FEATURES:remove = "obmc-net-ipmi"
|
||||
IMAGE_FEATURES:remove = "obmc-sensors"
|
||||
IMAGE_FEATURES:remove = "obmc-software"
|
||||
IMAGE_FEATURES:remove = "obmc-system-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-telemetry"
|
||||
IMAGE_FEATURES:remove = "obmc-debug-collector"
|
||||
IMAGE_FEATURES:remove = "obmc-settings-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-network-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-user-mgmt"
|
||||
IMAGE_FEATURES:remove = "obmc-user-mgmt-ldap"
|
||||
IMAGE_FEATURES:remove = "obmc-dmtf-pmci"
|
||||
OBMC_IMAGE_BASE_INSTALL:remove = "packagegroup-obmc-apps-extras"
|
||||
@@ -0,0 +1,19 @@
|
||||
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
|
||||
# changes incompatibly
|
||||
LCONF_VERSION = "8"
|
||||
|
||||
BBPATH = "${TOPDIR}"
|
||||
BBFILES ?= ""
|
||||
|
||||
BBLAYERS ?= " \
|
||||
##OEROOT##/meta \
|
||||
##OEROOT##/meta-security/meta-tpm \
|
||||
##OEROOT##/meta-openembedded/meta-oe \
|
||||
##OEROOT##/meta-openembedded/meta-networking \
|
||||
##OEROOT##/meta-openembedded/meta-python \
|
||||
##OEROOT##/meta-phosphor \
|
||||
##OEROOT##/meta-nuvoton \
|
||||
##OEROOT##/meta-google \
|
||||
##OEROOT##/meta-quanta \
|
||||
##OEROOT##/meta-quanta/meta-gbs \
|
||||
"
|
||||
@@ -0,0 +1,2 @@
|
||||
Common targets are:
|
||||
obmc-phosphor-image
|
||||
@@ -0,0 +1,17 @@
|
||||
MACHINE ??= "gbs"
|
||||
DISTRO ?= "gbmc"
|
||||
PACKAGE_CLASSES ?= "package_ipk"
|
||||
SANITY_TESTED_DISTROS:append ?= " *"
|
||||
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
|
||||
USER_CLASSES ?= "buildstats"
|
||||
PATCHRESOLVE = "noop"
|
||||
BB_DISKMON_DIRS ??= "\
|
||||
STOPTASKS,${TMPDIR},1G,100K \
|
||||
STOPTASKS,${DL_DIR},1G,100K \
|
||||
STOPTASKS,${SSTATE_DIR},1G,100K \
|
||||
STOPTASKS,/tmp,100M,100K \
|
||||
HALT,${TMPDIR},100M,1K \
|
||||
HALT,${DL_DIR},100M,1K \
|
||||
HALT,${SSTATE_DIR},100M,1K \
|
||||
HALT,/tmp,10M,1K"
|
||||
CONF_VERSION = "2"
|
||||
Reference in New Issue
Block a user