From: "Philippe Mathieu-Daudé via" <qemu-devel@nongnu.org>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>,
"Taylor Simpson" <tsimpson@quicinc.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Eduardo Habkost" <eduardo@habkost.net>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: [PATCH v2 01/14] meson: Display libfdt as disabled when system emulation is disabled
Date: Mon, 14 Feb 2022 19:31:31 +0100 [thread overview]
Message-ID: <20220214183144.27402-2-f4bug@amsat.org> (raw)
In-Reply-To: <20220214183144.27402-1-f4bug@amsat.org>
When configuring QEMU with --disable-system, meson keeps showing
libfdt as "auto". Mark it as disabled instead.
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index df25e7a5e7..9460875693 100644
--- a/meson.build
+++ b/meson.build
@@ -2266,8 +2266,8 @@ if get_option('cfi') and slirp_opt == 'system'
endif
fdt = not_found
-fdt_opt = get_option('fdt')
if have_system
+ fdt_opt = get_option('fdt')
if fdt_opt in ['enabled', 'auto', 'system']
have_internal = fs.exists(meson.current_source_dir() / 'dtc/libfdt/Makefile.libfdt')
fdt = cc.find_library('fdt', kwargs: static_kwargs,
@@ -2310,6 +2310,8 @@ if have_system
fdt = declare_dependency(link_with: libfdt,
include_directories: fdt_inc)
endif
+else
+ fdt_opt = 'disabled'
endif
if not fdt.found() and fdt_required.length() > 0
error('fdt not available but required by targets ' + ', '.join(fdt_required))
--
2.34.1
next prev parent reply other threads:[~2022-02-14 18:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-14 18:31 [PATCH v2 00/14] target: Use ArchCPU & CPUArchState as abstract interface to target CPU Philippe Mathieu-Daudé via
2022-02-14 18:31 ` Philippe Mathieu-Daudé via [this message]
2022-02-14 18:31 ` [PATCH v2 02/14] hw/m68k/mcf: Add missing 'exec/hwaddr.h' header Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 03/14] hw/tricore: Remove unused and incorrect header Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 04/14] exec/cpu_ldst: Include 'cpu.h' to get target_ulong definition Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 05/14] cpu: Add missing 'exec/exec-all.h' and 'qemu/accel.h' headers Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 06/14] target/i386/cpu: Ensure accelerators set CPU addressble physical bits Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 07/14] target/i386/tcg/sysemu: Include missing 'exec/exec-all.h' header Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 08/14] Hexagon (target/hexagon) convert to OBJECT_DECLARE_TYPE Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 09/14] target: Include missing 'cpu.h' Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 10/14] target/hexagon: Add missing 'hw/core/cpu.h' include Philippe Mathieu-Daudé via
2022-02-15 8:47 ` Damien Hedde
2022-02-25 0:04 ` Richard Henderson
2022-02-14 18:31 ` [PATCH v2 11/14] target: Use forward declared type instead of structure type Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 12/14] target: Use CPUArchState as interface to target-specific CPU state Philippe Mathieu-Daudé via
2022-02-14 18:31 ` [PATCH v2 13/14] target: Introduce and use OBJECT_DECLARE_CPU_TYPE() macro Philippe Mathieu-Daudé via
2022-02-25 0:08 ` Richard Henderson
2022-02-14 18:31 ` [PATCH v2 14/14] target: Use ArchCPU as interface to target CPU Philippe Mathieu-Daudé via
2022-02-25 0:10 ` Richard Henderson
2022-02-15 17:45 ` [PATCH v2 00/14] target: Use ArchCPU & CPUArchState as abstract " Damien Hedde
2022-03-06 11:12 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220214183144.27402-2-f4bug@amsat.org \
--to=qemu-devel@nongnu.org \
--cc=eduardo@habkost.net \
--cc=f4bug@amsat.org \
--cc=pbonzini@redhat.com \
--cc=richard.henderson@linaro.org \
--cc=thuth@redhat.com \
--cc=tsimpson@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).