aboutsummaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2023-06-01 10:12:50 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2023-07-29 13:28:40 +1000
commitbdc5c8793a13abb8846d115b7923df87605d05bd (patch)
treebed8233138a39407464fc02bd823d43e585c33c1 /meson_options.txt
parentf088e381f29eb09bcd9599a942eb4b77949526f5 (diff)
downloaddtc-bdc5c8793a13abb8846d115b7923df87605d05bd.zip
dtc-bdc5c8793a13abb8846d115b7923df87605d05bd.tar.gz
dtc-bdc5c8793a13abb8846d115b7923df87605d05bd.tar.bz2
meson: allow disabling tests
The new meson build system support diverges from former build system where the tests were not built until required. This has caused an issue in NixOS[1] due to broken build of tests in Darwin platform, so this patch allows the control if tests should be build or not. 1. https://github.com/NixOS/nixpkgs/pull/235210 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 82621c3..36f391a 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -10,3 +10,5 @@ option('python', type: 'feature', value: 'auto',
description: 'Build pylibfdt Python library')
option('static-build', type: 'boolean', value: false,
description: 'Build static binaries')
+option('tests', type: 'boolean', value: true,
+ description: 'Build tests')