Skip to content

Commit

Permalink
yosemite4n: initial layer config
Browse files Browse the repository at this point in the history
Summary:
yosemite4n is a new system based on yosemite4 and Nuvoton management
board. Create the layer config enough to build it.

Test Plan:
bitbake yosemite4n-image - Build Pass

Signed-off-by: Joseph Liu <[email protected]>
Signed-off-by: Marvin Lin <[email protected]>
  • Loading branch information
linkunfa committed Nov 6, 2024
1 parent 7057726 commit 398aa4a
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 1 deletion.
14 changes: 14 additions & 0 deletions meta-facebook/meta-yosemite4/meta-yosemite4n/conf/layer.conf
Original file line number Diff line number Diff line change
@@ -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}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"

# Ignore bbappend related to ASPEED in meta-yosemite4
BBMASK += ".*aspeed.*\.bbappend"

BBFILE_COLLECTIONS += "fb-yosemite4n-layer"
BBFILE_PATTERN_fb-yosemite4n-layer := "^${LAYERDIR}/"
LAYERVERSION_fb-yosemite4n-layer = "1"
LAYERSERIES_COMPAT_fb-yosemite4n-layer = "scarthgap nanbield kirkstone"
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "8"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-openembedded/meta-oe \
##OEROOT##/meta-openembedded/meta-networking \
##OEROOT##/meta-openembedded/meta-python \
##OEROOT##/meta-security/meta-tpm \
##OEROOT##/meta-phosphor \
##OEROOT##/meta-arm/meta-arm \
##OEROOT##/meta-arm/meta-arm-toolchain \
##OEROOT##/meta-nuvoton \
##OEROOT##/meta-facebook \
##OEROOT##/meta-facebook/meta-yosemite4 \
##OEROOT##/meta-facebook/meta-yosemite4/meta-yosemite4n \
##OEROOT##/../.. \
##OEROOT##/../../meta-facebook \
##OEROOT##/../../meta-facebook/meta-yosemite4 \
##OEROOT##/../../meta-facebook/meta-yosemite4/meta-yosemite4n \
"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Common targets are:
yosemite4n-image
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Local configuration file for building the OpenBMC image.
#
MACHINE ??= "yosemite4n"
DISTRO ?= "openbmc-fb-lf"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require recipes-core/images/yosemite4-image.bb

IMAGE_INSTALL:remove = " packagegroup-openbmc-tests2"
1 change: 1 addition & 0 deletions openbmc-init-build-env
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ PLAT_DISTRO_OVERRIDES=(
meta-ventura:lf-master
meta-waimeacanyon:lf-master
meta-yosemite4:lf-master
meta-yosemite4n:lf-master
# dunfell platforms (pending upgrade)
meta-cmm:lf-dunfell
meta-fbsp:lf-dunfell
Expand Down
3 changes: 2 additions & 1 deletion tools/platforms/platform_build_names
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
"wedge400",
"yamp",
"yosemite",
"yosemite4"
"yosemite4",
"yosemite4n"
]

0 comments on commit 398aa4a

Please sign in to comment.