summaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorHyok S. Choi <hyok.choi@samsung.com>2006-03-27 15:14:19 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-27 15:14:19 +0100
commitf8c07de6beac55c3273cbd679bfa67555ef14ef5 (patch)
treeade620230f6097d6174cb338f2cbdb878b682b8d /arch/arm/Makefile
parent75d90832d58aa5855972cfc2bdaa94970ccd4aca (diff)
downloadblackbird-obmc-linux-f8c07de6beac55c3273cbd679bfa67555ef14ef5.tar.gz
blackbird-obmc-linux-f8c07de6beac55c3273cbd679bfa67555ef14ef5.zip
[ARM] nommu: add nommu specific Kconfig and MMUEXT variable in Makefile
This patch adds Kconfig-nommu for noMMU specific configurations and MMUEXT variable into Makefile. Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile7
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
# Select a platform tht is kept up-to-date
KBUILD_DEFCONFIG := versatile_defconfig
+# defines filename extension depending memory manement type.
+ifeq ($(CONFIG_MMU),)
+MMUEXT := -nommu
+endif
+
ifeq ($(CONFIG_FRAME_POINTER),y)
CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog
endif
@@ -127,7 +132,7 @@ else
MACHINE :=
endif
-export TEXT_OFFSET GZFLAGS
+export TEXT_OFFSET GZFLAGS MMUEXT
# Do we have FASTFPE?
FASTFPE :=arch/arm/fastfpe
OpenPOWER on IntegriCloud