commit | 5b29ea61739649ab88d3c34b10e25fd4b8097695 | [log] [tgz] |
---|---|---|
author | Vivekanand Veeracholan <vveerach@google.com> | Tue Aug 10 20:21:08 2021 -0700 |
committer | Vivekanand Veeracholan <vveerach@google.com> | Mon Aug 16 19:15:59 2021 +0000 |
tree | 5532018feded5cfc1f49510dcf00bee5677fb91b | |
parent | abb810efff84c291d43dec7820508612e07a4530 [diff] |
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
diff --git a/meta-google/conf/distro/gbmc.conf b/meta-google/conf/distro/gbmc.conf index d365909..50fdc59 100644 --- a/meta-google/conf/distro/gbmc.conf +++ b/meta-google/conf/distro/gbmc.conf
@@ -7,6 +7,10 @@ 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"