[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/21] meson: add more sections to main meson.build
From: |
Paolo Bonzini |
Subject: |
[PATCH 13/21] meson: add more sections to main meson.build |
Date: |
Thu, 21 Dec 2023 18:19:50 +0100 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/meson.build b/meson.build
index b5a85c4c255..b8c64c5ecf7 100644
--- a/meson.build
+++ b/meson.build
@@ -9,6 +9,10 @@ add_test_setup('thorough', env: ['G_TEST_SLOW=1',
'SPEED=thorough'])
meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
+####################
+# Global variables #
+####################
+
not_found = dependency('', required: false)
keyval = import('keyval')
ss = import('sourceset')
@@ -86,8 +90,16 @@ enable_modules = get_option('modules') \
.allowed()
have_block = have_system or have_tools
+############
+# Programs #
+############
+
python = import('python').find_installation()
+#######################################
+# Variables for host and accelerators #
+#######################################
+
if cpu not in supported_cpus
host_arch = 'unknown'
elif cpu == 'x86'
@@ -518,9 +530,9 @@ if sparse.found()
'-Wno-non-pointer-null'])
endif
-###########################################
-# Target-specific checks and dependencies #
-###########################################
+#####################
+# Option validation #
+#####################
# Fuzzing
if get_option('fuzzing') and get_option('fuzzing_engine') == '' and \
@@ -3495,9 +3507,9 @@ specific_ss.add_all(when: 'CONFIG_TCG_BUILTIN', if_true:
tcg_module_ss)
target_modules += { 'accel' : { 'qtest': qtest_module_ss,
'tcg': tcg_real_module_ss }}
-########################
-# Library dependencies #
-########################
+##############################################
+# Internal static_libraries and dependencies #
+##############################################
modinfo_collect = find_program('scripts/modinfo-collect.py')
modinfo_generate = find_program('scripts/modinfo-generate.py')
--
2.43.0
- [PATCH 07/21] meson: always probe u2f and canokey if the option is enabled, (continued)
- [PATCH 07/21] meson: always probe u2f and canokey if the option is enabled, Paolo Bonzini, 2023/12/21
- [PATCH 02/21] meson: remove unused variable, Paolo Bonzini, 2023/12/21
- [PATCH 08/21] meson: remove OS definitions from config_targetos, Paolo Bonzini, 2023/12/21
- [PATCH 09/21] meson: remove CONFIG_POSIX and CONFIG_WIN32 from config_targetos, Paolo Bonzini, 2023/12/21
- [PATCH 10/21] meson: remove config_targetos, Paolo Bonzini, 2023/12/21
- [PATCH 11/21] meson: remove CONFIG_ALL, Paolo Bonzini, 2023/12/21
- [PATCH 12/21] meson: rename config_all, Paolo Bonzini, 2023/12/21
- [PATCH 13/21] meson: add more sections to main meson.build,
Paolo Bonzini <=
- [PATCH 14/21] meson: move program checks together, Paolo Bonzini, 2023/12/21
- [PATCH 15/21] meson: move option validation a bit closer, Paolo Bonzini, 2023/12/21
- [PATCH 16/21] meson: separate host-specific checks from option validation, Paolo Bonzini, 2023/12/21
- [PATCH 17/21] meson: keep subprojects together, Paolo Bonzini, 2023/12/21
- [PATCH 19/21] meson: move config-host.h definitions together, Paolo Bonzini, 2023/12/21
- [PATCH 18/21] meson: move CFI detection code earlier, Paolo Bonzini, 2023/12/21