diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-03-28 16:05:10 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-28 16:05:10 -0500 |
commit | ae574a5d7aa1d80469dfcbaa757db2bea536ee66 (patch) | |
tree | 6cfa7750df998359295227b76256d488f6d39d19 /arch/arm/Makefile | |
parent | c4713074375c61f939310b04e92090afe29810dc (diff) | |
parent | c760fc1997e8156ebc4134c42c18f68137c689f9 (diff) |
Merge nommu tree
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index ce3e804ea0f3..95a96275f88a 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -20,6 +20,11 @@ GZFLAGS :=-9 | |||
20 | # Select a platform tht is kept up-to-date | 20 | # Select a platform tht is kept up-to-date |
21 | KBUILD_DEFCONFIG := versatile_defconfig | 21 | KBUILD_DEFCONFIG := versatile_defconfig |
22 | 22 | ||
23 | # defines filename extension depending memory manement type. | ||
24 | ifeq ($(CONFIG_MMU),) | ||
25 | MMUEXT := -nommu | ||
26 | endif | ||
27 | |||
23 | ifeq ($(CONFIG_FRAME_POINTER),y) | 28 | ifeq ($(CONFIG_FRAME_POINTER),y) |
24 | CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog | 29 | CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog |
25 | endif | 30 | endif |
@@ -73,7 +78,7 @@ AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float | |||
73 | CHECKFLAGS += -D__arm__ | 78 | CHECKFLAGS += -D__arm__ |
74 | 79 | ||
75 | #Default value | 80 | #Default value |
76 | head-y := arch/arm/kernel/head.o arch/arm/kernel/init_task.o | 81 | head-y := arch/arm/kernel/head$(MMUEXT).o arch/arm/kernel/init_task.o |
77 | textofs-y := 0x00008000 | 82 | textofs-y := 0x00008000 |
78 | 83 | ||
79 | machine-$(CONFIG_ARCH_RPC) := rpc | 84 | machine-$(CONFIG_ARCH_RPC) := rpc |
@@ -133,7 +138,7 @@ else | |||
133 | MACHINE := | 138 | MACHINE := |
134 | endif | 139 | endif |
135 | 140 | ||
136 | export TEXT_OFFSET GZFLAGS | 141 | export TEXT_OFFSET GZFLAGS MMUEXT |
137 | 142 | ||
138 | # Do we have FASTFPE? | 143 | # Do we have FASTFPE? |
139 | FASTFPE :=arch/arm/fastfpe | 144 | FASTFPE :=arch/arm/fastfpe |