diff options
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index e3770ed87825..73df2297a5f3 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -17,6 +17,11 @@ GZFLAGS :=-9 | |||
17 | # Select a platform tht is kept up-to-date | 17 | # Select a platform tht is kept up-to-date |
18 | KBUILD_DEFCONFIG := versatile_defconfig | 18 | KBUILD_DEFCONFIG := versatile_defconfig |
19 | 19 | ||
20 | # defines filename extension depending memory manement type. | ||
21 | ifeq ($(CONFIG_MMU),) | ||
22 | MMUEXT := -nommu | ||
23 | endif | ||
24 | |||
20 | ifeq ($(CONFIG_FRAME_POINTER),y) | 25 | ifeq ($(CONFIG_FRAME_POINTER),y) |
21 | CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog | 26 | CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog |
22 | endif | 27 | endif |
@@ -127,7 +132,7 @@ else | |||
127 | MACHINE := | 132 | MACHINE := |
128 | endif | 133 | endif |
129 | 134 | ||
130 | export TEXT_OFFSET GZFLAGS | 135 | export TEXT_OFFSET GZFLAGS MMUEXT |
131 | 136 | ||
132 | # Do we have FASTFPE? | 137 | # Do we have FASTFPE? |
133 | FASTFPE :=arch/arm/fastfpe | 138 | FASTFPE :=arch/arm/fastfpe |