aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 8eb65a8a..065578e4 100644
--- a/meson.build
+++ b/meson.build
@@ -489,7 +489,9 @@ executable(
link_with : libflashrom.get_static_lib(), # flashrom needs internal symbols of libflashrom
)
-subdir('util')
+if get_option('ich_descriptors_tool').auto() or get_option('ich_descriptors_tool').enabled()
+ subdir('util/ich_descriptors_tool')
+endif
# Use `.auto() or .enabled()` instead of `.allowed()` to keep the minimum meson version as low as possible.
# `.allowed()` gets introduced in 0.59.0