summaryrefslogtreecommitdiffstats
path: root/arch/ppc/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:29 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:29 +0200
commit0c48f25ade447a9f57ae8b053f5d6d1a198f221d (patch)
tree5fafb54a4ceb8faa07639ad6c942cd1df9cf7349 /arch/ppc/Makefile
parent957a710f42fa817fc69a9ced6ec632f1cf8163db (diff)
downloadbarebox-0c48f25ade447a9f57ae8b053f5d6d1a198f221d.tar.gz
barebox-0c48f25ade447a9f57ae8b053f5d6d1a198f221d.tar.xz
svn_rev_173
WIP
Diffstat (limited to 'arch/ppc/Makefile')
-rw-r--r--arch/ppc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index 68d85314a3..0a3130e480 100644
--- a/arch/ppc/Makefile
+++ b/arch/ppc/Makefile
@@ -10,7 +10,7 @@ cpu-$(CONFIG_MPC5200) := mpc5xxx
TEXT_BASE = $(CONFIG_TEXT_BASE)
CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -P
-CFLAGS := -fno-common -Os
+CFLAGS := -fno-common -Os -mrelocatable
LDFLAGS_vmlinux :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc -Ttext $(TEXT_BASE)
ifeq ($(incdir-y),)