summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:10 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:10 +0200
commit66dd92dd7d5f8277af8dd383fe06af95e55ee3a5 (patch)
tree0606616a2561d1525d194b7d812543841097bafa /arch/ppc
parent9810f2466ea71dffc6d58f28dbc4248c5ba0ffb7 (diff)
downloadbarebox-66dd92dd7d5f8277af8dd383fe06af95e55ee3a5.tar.gz
barebox-66dd92dd7d5f8277af8dd383fe06af95e55ee3a5.tar.xz
svn_rev_619
no need for relocatable code anymore. saves ~10k space
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index a766a4f18a..6ccd32450e 100644
--- a/arch/ppc/Makefile
+++ b/arch/ppc/Makefile
@@ -1,6 +1,6 @@
CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \
- -isystem $(gccincdir) -meabi -Wstrict-prototypes -fPIC -D __PPC__ -D CONFIG_PPC \
+ -isystem $(gccincdir) -meabi -Wstrict-prototypes -D __PPC__ -D CONFIG_PPC \
machine-$(CONFIG_ARCH_MPC5200) := mpc5200
@@ -10,7 +10,7 @@ cpu-$(CONFIG_ARCH_MPC5200) := mpc5xxx
TEXT_BASE = $(CONFIG_TEXT_BASE)
CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -P
-CFLAGS := -fno-common -Os -mrelocatable
+CFLAGS := -fno-common -Os
LDFLAGS_uboot :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc -Ttext $(TEXT_BASE)
ifeq ($(incdir-y),)