projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05470c3
)
meson: Allow building binary with no target-specific files in hw/
author
Philippe Mathieu-Daudé
<philmd@linaro.org>
Tue, 21 Nov 2023 12:52:48 +0000
(13:52 +0100)
committer
Philippe Mathieu-Daudé
<philmd@linaro.org>
Fri, 5 Jan 2024 15:20:14 +0000
(16:20 +0100)
Allow building a qemu-system-foo binary with target-agnostic
only HW models.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <
20231121203129
.67999-1-philmd@linaro.org>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 5a2582776cefef9db51bd32490ddf0a9bfdaf9ad..371edafae6730bb7b2b8d0df9150a021f68b13d0 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-3771,9
+3771,11
@@
foreach target : target_dirs
arch_deps += t.dependencies()
hw_dir = target_name == 'sparc64' ? 'sparc64' : target_base_arch
- hw = hw_arch[hw_dir].apply(config_target, strict: false)
- arch_srcs += hw.sources()
- arch_deps += hw.dependencies()
+ if hw_arch.has_key(hw_dir)
+ hw = hw_arch[hw_dir].apply(config_target, strict: false)
+ arch_srcs += hw.sources()
+ arch_deps += hw.dependencies()
+ endif
arch_srcs += config_devices_h[target]
link_args += ['@block.syms', '@qemu.syms']