summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Novotny <tomas@novotny.cz>2021-09-08 14:11:02 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2021-09-09 12:00:27 +0200
commitf6e6ed642b1f8e940c05396b466e008d0dcbb6a8 (patch)
treed78f0823201ecda4cf882c594070c63e5ec4a576
parente73336f9ff769414c5090640b6f33dc7b3169afb (diff)
buildconf/local.conf: set DISTRO as a default value
The usage of the default value operator makes it easier to overwrite the DISTRO variable in other configuration files (e.g., for continuous integration). Signed-off-by: Tomas Novotny <tomas@novotny.cz> (cherry picked from commit deae13d4db872a395366c1eb9f2fd42942e09c7b)
-rw-r--r--buildconf/local.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildconf/local.conf b/buildconf/local.conf
index 301e639..0fc52fd 100644
--- a/buildconf/local.conf
+++ b/buildconf/local.conf
@@ -266,8 +266,8 @@ INHERIT += "rm_work"
# Add Toradex bbclasses
INHERIT += "toradex-mirrors toradex-sanity"
-# Use this distro
-DISTRO = "tdx-xwayland"
+# Use this distro by default
+DISTRO ?= "tdx-xwayland"
# Don't generate the mirror tarball for SCM repos, the snapshot is enough
# BB_GENERATE_MIRROR_TARBALLS = "0"