On 7/5/24 09:19, Paolo Bonzini wrote:
Treat libfdt like slirp and the other dependencies that use --enable-download;
remove the ability to force usage of the subproject.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
  meson.build                   | 69 +++++++++++++++--------------------
  meson_options.txt             |  6 +--
  scripts/meson-buildoptions.sh |  4 +-
  3 files changed, 34 insertions(+), 45 deletions(-)


diff --git a/meson_options.txt b/meson_options.txt
index adc77bae0cd..90902c19d1c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -308,9 +308,9 @@ option('vduse_blk_export', type: 'feature', value: 'auto',
option('capstone', type: 'feature', value: 'auto',
         description: 'Whether and how to find the capstone library')
-option('fdt', type: 'combo', value: 'auto',
-       choices: ['disabled', 'enabled', 'auto', 'system', 'internal'],
-       description: 'Whether and how to find the libfdt library')
+option('fdt', type: 'feature', value: 'auto',
+       deprecated: { 'system': 'enabled' },

TIL deprecated options:
https://mesonbuild.com/Build-options.html#deprecated-options

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>



Reply via email to