From: Mike Frysinger Date: Wed, 12 Nov 2008 12:18:15 +0000 (-0500) Subject: Blackfin: build with -mno-fdpic X-Git-Tag: v2009.03-rc1~120 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4148e02abae9a099f4444b5e168ebc2b911d2295;p=platform%2Fkernel%2Fu-boot.git 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 --- diff --git a/blackfin_config.mk b/blackfin_config.mk index b2d94d5..f3fcd7a 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