summaryrefslogtreecommitdiff
path: root/arch/microblaze/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/config.mk')
-rw-r--r--arch/microblaze/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/microblaze/config.mk b/arch/microblaze/config.mk
index 98bbf79..2b817be 100644
--- a/arch/microblaze/config.mk
+++ b/arch/microblaze/config.mk
@@ -15,3 +15,8 @@ endif
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000
PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__
+
+ifeq ($(CONFIG_SPL_BUILD),)
+PLATFORM_CPPFLAGS += -fPIC
+endif
+__HAVE_ARCH_GENERIC_BOARD := y