[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/15] meson: add comments in the target-specific flags section
From: |
Paolo Bonzini |
Subject: |
[PULL 12/15] meson: add comments in the target-specific flags section |
Date: |
Tue, 4 Jan 2022 15:57:46 +0100 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meson.build b/meson.build
index 36fc720ba3..6489ff8425 100644
--- a/meson.build
+++ b/meson.build
@@ -238,6 +238,7 @@ endif
# Target-specific checks and dependencies #
###########################################
+# Fuzzing
if get_option('fuzzing') and get_option('fuzzing_engine') == '' and \
not cc.links('''
#include <stdint.h>
@@ -249,6 +250,7 @@ if get_option('fuzzing') and get_option('fuzzing_engine')
== '' and \
error('Your compiler does not support -fsanitize=fuzzer')
endif
+# Tracing backends
if 'ftrace' in get_option('trace_backends') and targetos != 'linux'
error('ftrace is supported only on Linux')
endif
@@ -262,6 +264,7 @@ if 'syslog' in get_option('trace_backends') and not
cc.compiles('''
error('syslog is not supported on this system')
endif
+# Miscellaneous Linux-only features
if targetos != 'linux' and get_option('mpath').enabled()
error('Multipath is supported only on Linux')
endif
@@ -271,6 +274,7 @@ if targetos != 'linux' and
get_option('multiprocess').enabled()
endif
multiprocess_allowed = targetos == 'linux' and not
get_option('multiprocess').disabled()
+# Target-specific libraries and flags
libm = cc.find_library('m', required: false)
threads = dependency('threads')
util = cc.find_library('util', required: false)
@@ -311,6 +315,7 @@ elif targetos == 'openbsd'
endif
endif
+# Target-specific configuration of accelerators
accelerators = []
if not get_option('kvm').disabled() and targetos == 'linux'
accelerators += 'CONFIG_KVM'
--
2.33.1
- [PULL 02/15] user: move common-user includes to a subdirectory of {bsd, linux}-user/, (continued)
- [PULL 02/15] user: move common-user includes to a subdirectory of {bsd, linux}-user/, Paolo Bonzini, 2022/01/04
- [PULL 03/15] meson: cleanup common-user/ build, Paolo Bonzini, 2022/01/04
- [PULL 04/15] block/file-posix: Simplify the XFS_IOC_DIOINFO handling, Paolo Bonzini, 2022/01/04
- [PULL 07/15] configure, makefile: remove traces of really old files, Paolo Bonzini, 2022/01/04
- [PULL 05/15] configure: simplify creation of plugin symbol list, Paolo Bonzini, 2022/01/04
- [PULL 06/15] configure: do not set bsd_user/linux_user early, Paolo Bonzini, 2022/01/04
- [PULL 08/15] configure: parse --enable/--disable-strip automatically, flip default, Paolo Bonzini, 2022/01/04
- [PULL 09/15] configure: move non-command-line variables away from command-line parsing section, Paolo Bonzini, 2022/01/04
- [PULL 10/15] meson: build contrib/ executables after generated headers, Paolo Bonzini, 2022/01/04
- [PULL 11/15] configure, meson: move config-poison.h to meson, Paolo Bonzini, 2022/01/04
- [PULL 12/15] meson: add comments in the target-specific flags section,
Paolo Bonzini <=
- [PULL 13/15] KVM: use KVM_{GET|SET}_SREGS2 when supported., Paolo Bonzini, 2022/01/04
- [PULL 14/15] KVM: x86: ignore interrupt_bitmap field of KVM_GET/SET_SREGS, Paolo Bonzini, 2022/01/04
- [PULL 15/15] tests/tcg: Fix target-specific Makefile variables path for user-mode, Paolo Bonzini, 2022/01/04
- Re: [PULL v3 00/15] Build system and KVM changes for 2021-12-23, Richard Henderson, 2022/01/04