summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:20 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:20 +0200
commitbbe312cba5c2e6e1d9177e169db5cd6f89478e21 (patch)
tree5e724ced5fe6f443229089cfe68f5d9a5f91b217 /arch
parent20a5d4c3bc6e1fb1d2a77ea446271a4f3e9de3ee (diff)
downloadbarebox-bbe312cba5c2e6e1d9177e169db5cd6f89478e21.tar.gz
barebox-bbe312cba5c2e6e1d9177e169db5cd6f89478e21.tar.xz
svn_rev_076
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index a18fb89aab..916e0dff33 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -1,6 +1,7 @@
CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \
- -isystem $(gccincdir) -pipe -D __ARM__ -D CONFIG_ARM
+ -isystem $(gccincdir) -pipe -D __ARM__ -D CONFIG_ARM \
+ -ffixed-r8
machine-$(CONFIG_ARCH_IMX) := imx
@@ -9,10 +10,10 @@ board-$(CONFIG_MACH_MX1ADS) := mx1ads
board-$(CONFIG_MACH_ECO920) := eco920
cpu-$(CONFIG_ARM920T) := arm920t
-TEXT_BASE = 0x08400000
+TEXT_BASE = 0x21e00000
CPPFLAGS += -mabi=apcs-gnu -DTEXT_BASE=$(TEXT_BASE)
-CFLAGS := -fno-common -ffreestanding -nostdinc -msoft-float -O2
+CFLAGS := -fno-common -msoft-float -O2
LDFLAGS_vmlinux :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc -Ttext $(TEXT_BASE)
ifeq ($(incdir-y),)
@@ -30,11 +31,9 @@ ifneq ($(KBUILD_SRC),)
echo incdir1: $(INCDIR)
$(Q)mkdir -p include/asm-arm
$(Q)ln -fsn $(srctree)/include/asm-arm/$(INCDIR) include/asm-arm/arch
- $(Q)ln -fsn $(srctree)/include/configs/$(board-y) include/config.h
else
echo incdir: $(INCDIR)
$(Q)ln -fsn $(INCDIR) include/asm-arm/arch
- $(Q)ln -fsn configs/$(board-y).h include/config.h
endif
@touch $@
@@ -57,9 +56,6 @@ CPU :=
endif
common-y += $(BOARD) $(CPU)
-
common-y += arch/arm/lib/
-head-y := cpu/arm920t/start.o
-
-CLEAN_FILES += include/asm-arm/arch
+MRPROPER_FILES += include/asm-arm/arch