aboutsummaryrefslogtreecommitdiff
path: root/hw/riscv/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/riscv/meson.build')
-rw-r--r--hw/riscv/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/riscv/meson.build b/hw/riscv/meson.build
index a97454661c..ab6cae57ea 100644
--- a/hw/riscv/meson.build
+++ b/hw/riscv/meson.build
@@ -1,6 +1,6 @@
riscv_ss = ss.source_set()
riscv_ss.add(files('boot.c'), fdt)
-riscv_ss.add(files('numa.c'))
+riscv_ss.add(when: 'CONFIG_RISCV_NUMA', if_true: files('numa.c'))
riscv_ss.add(files('riscv_hart.c'))
riscv_ss.add(when: 'CONFIG_OPENTITAN', if_true: files('opentitan.c'))
riscv_ss.add(when: 'CONFIG_RISCV_VIRT', if_true: files('virt.c'))