mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 11:53:53 -06:00
semihosting/uaccess: Compile once
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250526095213.14113-3-philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-ID: <20250627112512.1880708-5-alex.bennee@linaro.org>
This commit is contained in:
parent
328c1a0b86
commit
b8e6bfd669
1 changed files with 1 additions and 4 deletions
|
@ -3,15 +3,12 @@ specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
||||||
'syscalls.c',
|
'syscalls.c',
|
||||||
))
|
))
|
||||||
|
|
||||||
specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_true: files(
|
|
||||||
'uaccess.c',
|
|
||||||
))
|
|
||||||
|
|
||||||
common_ss.add(when: 'CONFIG_SEMIHOSTING', if_false: files('stubs-all.c'))
|
common_ss.add(when: 'CONFIG_SEMIHOSTING', if_false: files('stubs-all.c'))
|
||||||
user_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files('user.c'))
|
user_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files('user.c'))
|
||||||
system_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
system_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
|
||||||
'config.c',
|
'config.c',
|
||||||
'console.c',
|
'console.c',
|
||||||
|
'uaccess.c',
|
||||||
), if_false: files(
|
), if_false: files(
|
||||||
'stubs-system.c',
|
'stubs-system.c',
|
||||||
))
|
))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue