summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2023-03-21 09:38:10 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-03-24 15:37:05 +0100
commita78559965c341d1d23a77837a1e0b70786aeb4c3 (patch)
tree5d8755cd1396e9f9a7dd10060e5c4ef6a937a1ec /meson.build
parentbeaef4f26a249ad119ab1ff5abbe8c30df5795fa (diff)
testplan/meson.build: cleanup dependency chain
Simplify the checks inside testplan/meson.build and ensure that it will only build if option build_testplan is selected, by moving such check to docs/meson.build. Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 12d5113a9..7360634fe 100644
--- a/meson.build
+++ b/meson.build
@@ -328,6 +328,9 @@ else
endif
build_info += 'Build tests: @0@'.format(build_tests)
+build_testplan = get_option('testplan')
+build_sphinx = get_option('sphinx')
+
subdir('benchmarks')
subdir('tools')
subdir('runner')