summaryrefslogtreecommitdiffstats
path: root/target/riscv/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'target/riscv/Makefile.objs')
-rw-r--r--target/riscv/Makefile.objs4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/riscv/Makefile.objs b/target/riscv/Makefile.objs
index b754e4bf32..ff651f69f6 100644
--- a/target/riscv/Makefile.objs
+++ b/target/riscv/Makefile.objs
@@ -1,6 +1,10 @@
obj-y += translate.o op_helper.o cpu_helper.o cpu.o csr.o fpu_helper.o gdbstub.o
obj-$(CONFIG_SOFTMMU) += pmp.o
+ifeq ($(CONFIG_SOFTMMU),y)
+obj-y += monitor.o
+endif
+
DECODETREE = $(SRC_PATH)/scripts/decodetree.py
decode32-y = $(SRC_PATH)/target/riscv/insn32.decode