summaryrefslogtreecommitdiff
path: root/meta-google
diff options
context:
space:
mode:
authorVivekanand Veeracholan <vveerach@google.com>2021-08-11 06:21:08 +0300
committerVivekanand Veeracholan <vveerach@google.com>2021-08-16 22:15:59 +0300
commit5b29ea61739649ab88d3c34b10e25fd4b8097695 (patch)
tree5532018feded5cfc1f49510dcf00bee5677fb91b /meta-google
parentabb810efff84c291d43dec7820508612e07a4530 (diff)
downloadopenbmc-5b29ea61739649ab88d3c34b10e25fd4b8097695.tar.xz
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 <vveerach@google.com> Change-Id: I46c34d47c958a96ce00e2c89a2bc771a483a83ab
Diffstat (limited to 'meta-google')
-rw-r--r--meta-google/conf/distro/gbmc.conf4
1 files changed, 4 insertions, 0 deletions
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"