mirror of
https://github.com/qemu/qemu.git
synced 2024-12-11 12:43:55 +08:00
5837db4650
Since the semihosting stubs are needed exactly when the Kconfig symbols are not needed, move them to semihosting/ and conditionalize them on CONFIG_SEMIHOSTING and/or CONFIG_SYSTEM_ONLY. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20240408155330.522792-13-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
17 lines
505 B
Meson
17 lines
505 B
Meson
specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
|
'guestfd.c',
|
|
'syscalls.c',
|
|
))
|
|
|
|
specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_true: files(
|
|
'config.c',
|
|
'console.c',
|
|
'uaccess.c',
|
|
))
|
|
|
|
common_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_false: files('stubs-all.c'))
|
|
system_ss.add(when: ['CONFIG_SEMIHOSTING'], if_false: files('stubs-system.c'))
|
|
|
|
specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
|
|
if_true: files('arm-compat-semi.c'))
|