summaryrefslogtreecommitdiff
path: root/blackfin_config.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-12 07:18:15 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-02 12:24:48 -0500
commit4148e02abae9a099f4444b5e168ebc2b911d2295 (patch)
treeb115665e6569570822422206a544ae5dfa922fa1 /blackfin_config.mk
parent70e95589a24a2d83ad00317e4a9611d0211ecb58 (diff)
Blackfin: build with -mno-fdpic
Use the -mno-fdpic flag so that any Blackfin toolchain can be used to build up u-boot, including ones that output FDPIC ELF by default. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'blackfin_config.mk')
-rw-r--r--blackfin_config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/blackfin_config.mk b/blackfin_config.mk
index b2d94d5562..f3fcd7a074 100644
--- a/blackfin_config.mk
+++ b/blackfin_config.mk
@@ -24,7 +24,7 @@
CONFIG_BFIN_CPU := $(strip $(subst ",,$(CONFIG_BFIN_CPU)))
CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE)))
-PLATFORM_RELFLAGS += -ffixed-P5 -fomit-frame-pointer
+PLATFORM_RELFLAGS += -ffixed-P5 -fomit-frame-pointer -mno-fdpic
PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
LDFLAGS += --gc-sections