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
Show file tree
Hide file tree
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
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"
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"
]