diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:02:10 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:02:10 +0200 |
commit | 66dd92dd7d5f8277af8dd383fe06af95e55ee3a5 (patch) | |
tree | 0606616a2561d1525d194b7d812543841097bafa /arch/ppc | |
parent | 9810f2466ea71dffc6d58f28dbc4248c5ba0ffb7 (diff) | |
download | barebox-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/Makefile | 4 |
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),) |