Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yosemite4n: initial layer config #243

Open
wants to merge 1 commit into
base: helium
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
yosemite4n: initial layer config
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]>
linkunfa committed Dec 19, 2024

Verified

This commit was signed with the committer’s verified signature.
JV-conseil JV conseil
commit 2a64ddee1bf375762e201982c5e4806eeb7cf2ec
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
@@ -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
3 changes: 2 additions & 1 deletion tools/platforms/platform_build_names
Original file line number Diff line number Diff line change
@@ -42,5 +42,6 @@
"wedge400",
"yamp",
"yosemite",
"yosemite4"
"yosemite4",
"yosemite4n"
]