summaryrefslogtreecommitdiff
path: root/arch/riscv/errata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/errata/Makefile')
-rw-r--r--arch/riscv/errata/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/riscv/errata/Makefile b/arch/riscv/errata/Makefile
new file mode 100644
index 000000000000..8a2739485123
--- /dev/null
+++ b/arch/riscv/errata/Makefile
@@ -0,0 +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/