diff mbox series

[v3,7/9] meson: Alias CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY

Message ID 20230613133347.82210-8-philmd@linaro.org
State New
Headers show
Series bulk: Replace CONFIG_SOFTMMU by !CONFIG_USER_ONLY/CONFIG_SYSTEM_ONLY | expand

Commit Message

Philippe Mathieu-Daudé June 13, 2023, 1:33 p.m. UTC
We use the CONFIG_USER_ONLY key to describe user emulation,
and the CONFIG_SOFTMMU key to describe system emulation. Alias
it as 'CONFIG_SYSTEM_ONLY' for parity with user emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 meson.build | 1 +
 1 file changed, 1 insertion(+)

Comments

Richard Henderson June 14, 2023, 5:16 a.m. UTC | #1
On 6/13/23 15:33, Philippe Mathieu-Daudé wrote:
> We use the CONFIG_USER_ONLY key to describe user emulation,
> and the CONFIG_SOFTMMU key to describe system emulation. Alias
> it as 'CONFIG_SYSTEM_ONLY' for parity with user emulation.
> 
> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
> ---
>   meson.build | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 34306a6205..8bfa37afe2 100644
--- a/meson.build
+++ b/meson.build
@@ -2862,6 +2862,7 @@  foreach target : target_dirs
     endif
     config_target += { 'CONFIG_BSD_USER': 'y' }
   elif target.endswith('softmmu')
+    config_target += { 'CONFIG_SYSTEM_ONLY': 'y' }
     config_target += { 'CONFIG_SOFTMMU': 'y' }
   endif
   if target.endswith('-user')