summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/Makefile')
-rw-r--r--arch/arm/mm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile
index 07a53850578..07891c83e52 100644
--- a/arch/arm/mm/Makefile
+++ b/arch/arm/mm/Makefile
@@ -3,9 +3,15 @@
#
obj-y := consistent.o extable.o fault-armv.o \
- fault.o flush.o init.o ioremap.o mmap.o \
+ fault.o flush.o init.o iomap.o mmap.o \
mm-armv.o
+obj-$(CONFIG_MMU) += ioremap.o
+
+ifneq ($(CONFIG_MMU),y)
+obj-y += nommu.o
+endif
+
obj-$(CONFIG_MODULES) += proc-syms.o
obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o