commit | 577bdbcf85d4c491da3271d99526b66c576d90e5 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu May 18 17:29:04 2023 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri May 26 12:34:17 2023 +0200 |
tree | d538cc91f3f418a39a78c0895b503b97eed0a600 | |
parent | 0bfd14149b248e8097ea4da1f9d53beb5c5b0cca [diff] |
meson: simplify logic for -Dfdt fdt_opt == 'disabled' is going to give an error if libfdt is required by any target, so catch that immediately. For fdt_opt == 'enabled', instead, do not check immediately whether the internal libfdt is present. Instead do the check after ascertaining that libfdt is absent or too old. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>