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.objs3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/riscv/Makefile.objs b/target/riscv/Makefile.objs
index b1c79bc1d1..b754e4bf32 100644
--- a/target/riscv/Makefile.objs
+++ b/target/riscv/Makefile.objs
@@ -1,4 +1,5 @@
-obj-y += translate.o op_helper.o cpu_helper.o cpu.o csr.o fpu_helper.o gdbstub.o pmp.o
+obj-y += translate.o op_helper.o cpu_helper.o cpu.o csr.o fpu_helper.o gdbstub.o
+obj-$(CONFIG_SOFTMMU) += pmp.o
DECODETREE = $(SRC_PATH)/scripts/decodetree.py