summaryrefslogtreecommitdiff
path: root/arch/microblaze/config.mk
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2015-02-09 11:44:46 -0500
committerTom Rini <trini@ti.com>2015-02-09 11:44:46 -0500
commita4fb5df214c7e8d5bc949c1068d92252f105427a (patch)
treebe1d6e906ba602562affae768880b96ea39e2642 /arch/microblaze/config.mk
parent10918c03a9761db3ef8b57ca46a20d39e0be41e6 (diff)
parent7f33899221e4235900760add69ffbb5f66f1229d (diff)
downloadu-boot-imx-a4fb5df214c7e8d5bc949c1068d92252f105427a.zip
u-boot-imx-a4fb5df214c7e8d5bc949c1068d92252f105427a.tar.gz
u-boot-imx-a4fb5df214c7e8d5bc949c1068d92252f105427a.tar.bz2
Merge branch 'microblaze' of git://git.denx.de/u-boot-microblaze
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