1ifdef CONFIG_RELOCATABLE 2# We can't use PIC/PIE when handling early-boot errata parsing, as the kernel 3# doesn't have a GOT setup at that point. So instead just use medany: it's 4# usually position-independent, so it should be good enough for the errata 5# handling. 6KBUILD_CFLAGS += -fno-pie -mcmodel=medany 7endif 8 9obj-$(CONFIG_ERRATA_ANDES) += andes/ 10obj-$(CONFIG_ERRATA_SIFIVE) += sifive/ 11obj-$(CONFIG_ERRATA_THEAD) += thead/ 12