aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/riscv/errata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/errata/Makefile')
-rw-r--r--arch/riscv/errata/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/riscv/errata/Makefile b/arch/riscv/errata/Makefile
index a1055965fbee..8a2739485123 100644
--- a/arch/riscv/errata/Makefile
+++ b/arch/riscv/errata/Makefile
@@ -1,2 +1,7 @@
+ifdef CONFIG_RELOCATABLE
+KBUILD_CFLAGS += -fno-pie
+endif
+
+obj-$(CONFIG_ERRATA_ANDES) += andes/
obj-$(CONFIG_ERRATA_SIFIVE) += sifive/
obj-$(CONFIG_ERRATA_THEAD) += thead/