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 11:28:14 +0200
commitdeae13d4db872a395366c1eb9f2fd42942e09c7b (patch)
treedbdcfa9a46dcec74f8bd8163c066869171d0abdb
parent12f4b7186d09868e8369ca51b5fcae1111ad7161 (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>
-rw-r--r--buildconf/local.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildconf/local.conf b/buildconf/local.conf
index 00661df..e50d3a8 100644
--- a/buildconf/local.conf
+++ b/buildconf/local.conf
@@ -265,8 +265,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"