summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/riscv/Makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/Makefile.mk b/src/arch/riscv/Makefile.mk
index 0dbfd2a31e..1131bd5e3d 100644
--- a/src/arch/riscv/Makefile.mk
+++ b/src/arch/riscv/Makefile.mk
@@ -59,7 +59,7 @@ all-y += virtual_memory.c
all-y += boot.c
all-y += smp.c
all-y += misc.c
-all-$(ARCH_RISCV_PMP) += pmp.c
+all-$(CONFIG_ARCH_RISCV_PMP) += pmp.c
all-y += \
$(top)/src/lib/memchr.c \
$(top)/src/lib/memcmp.c \