mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
target/nios2: Build helper.c for system only
Remove the #ifdef !defined(CONFIG_USER_ONLY) that surrounds the whole file, and move helper.c to nios2_softmmu_ss. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220421151735.31996-12-richard.henderson@linaro.org>
This commit is contained in:
parent
fb4de9d235
commit
d2a11b40a4
2 changed files with 6 additions and 4 deletions
|
@ -1,14 +1,17 @@
|
|||
nios2_ss = ss.source_set()
|
||||
nios2_ss.add(files(
|
||||
'cpu.c',
|
||||
'helper.c',
|
||||
'nios2-semi.c',
|
||||
'op_helper.c',
|
||||
'translate.c',
|
||||
))
|
||||
|
||||
nios2_softmmu_ss = ss.source_set()
|
||||
nios2_softmmu_ss.add(files('monitor.c', 'mmu.c'))
|
||||
nios2_softmmu_ss.add(files(
|
||||
'helper.c',
|
||||
'monitor.c',
|
||||
'mmu.c'
|
||||
))
|
||||
|
||||
target_arch += {'nios2': nios2_ss}
|
||||
target_softmmu_arch += {'nios2': nios2_softmmu_ss}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue