aboutsummaryrefslogtreecommitdiff
path: root/target/nios2/meson.build
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-02-26 01:02:18 -1000
committerRichard Henderson <richard.henderson@linaro.org>2022-03-03 09:37:18 -1000
commitd8e609e9bb5a6b70ae2ba45fd14efffada013752 (patch)
treef9b748dccdff797ff3f71a1c242ce396bc223530 /target/nios2/meson.build
parent6f83e277eb9fa56c89fb25903834a21725655920 (diff)
downloadqemu-d8e609e9bb5a6b70ae2ba45fd14efffada013752.zip
qemu-d8e609e9bb5a6b70ae2ba45fd14efffada013752.tar.gz
qemu-d8e609e9bb5a6b70ae2ba45fd14efffada013752.tar.bz2
target/nios2: Only build mmu.c for system mode
We can thus remove an ifdef covering the entire file. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/nios2/meson.build')
-rw-r--r--target/nios2/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/nios2/meson.build b/target/nios2/meson.build
index e643917..62b3847 100644
--- a/target/nios2/meson.build
+++ b/target/nios2/meson.build
@@ -2,14 +2,13 @@ nios2_ss = ss.source_set()
nios2_ss.add(files(
'cpu.c',
'helper.c',
- 'mmu.c',
'nios2-semi.c',
'op_helper.c',
'translate.c',
))
nios2_softmmu_ss = ss.source_set()
-nios2_softmmu_ss.add(files('monitor.c'))
+nios2_softmmu_ss.add(files('monitor.c', 'mmu.c'))
target_arch += {'nios2': nios2_ss}
target_softmmu_arch += {'nios2': nios2_softmmu_ss}