From 5b29ea61739649ab88d3c34b10e25fd4b8097695 Mon Sep 17 00:00:00 2001 From: Vivekanand Veeracholan Date: Tue, 10 Aug 2021 20:21:08 -0700 Subject: meta-google: Add GBMC_CONFIG variable GBMC_CONFIG variable controls dev/prod configuration for the builds. Possible values: dev, prod This variable is defaulted to "dev" through weak assignment. Can be explicitly set through local.conf file or in build command. To set it in build command, additional step of including this variable to the "BB_ENV_EXTRAWHITE" environment variable is needed. https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#passing-information-into-the-build-task-environment Signed-off-by: Vivekanand Veeracholan Change-Id: I46c34d47c958a96ce00e2c89a2bc771a483a83ab --- meta-google/conf/distro/gbmc.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-google/conf/distro') diff --git a/meta-google/conf/distro/gbmc.conf b/meta-google/conf/distro/gbmc.conf index d365909af..50fdc5993 100644 --- a/meta-google/conf/distro/gbmc.conf +++ b/meta-google/conf/distro/gbmc.conf @@ -7,6 +7,10 @@ DISTRO_NAME = "gBMC (OpenBMC + Google customizations)" DISTRO_VERSION = "gbmc-release-${GBMC_VERSION}" DISTROOVERRIDES .= ":gbmc" +# Possible values: "dev", "prod" +GBMC_CONFIG ?= "dev" +OVERRIDES .= ":${GBMC_CONFIG}:" + DISTRO_FEATURES:remove = "ldap" DISTRO_FEATURES:remove = "slp" -- cgit v1.2.3