aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/Makefile
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-06-21 02:21:00 -0400
committerGreg Ungerer <gerg@uclinux.org>2011-10-18 00:22:25 -0400
commit0a01b310fe6319d88690bd5a329c9e6a82ce7011 (patch)
tree626ad0ea5f93b2efe210cc9ce6d6bcf0deb31fd1 /arch/m68k/kernel/Makefile
parent281eff5322fdb950a7dab722d15af811dda511d2 (diff)
m68k: merge the mmu and non-mmu kernel/Makefiles
The few differences between the mmu and non-mmu kernel/Makefiles can easily be handled inside of a single Makefile. Merge the 2 back into a single Makefile. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/m68k/kernel/Makefile')
-rw-r--r--arch/m68k/kernel/Makefile24
1 files changed, 20 insertions, 4 deletions
diff --git a/arch/m68k/kernel/Makefile b/arch/m68k/kernel/Makefile
index c482ebc9dd54..ca686708ae08 100644
--- a/arch/m68k/kernel/Makefile
+++ b/arch/m68k/kernel/Makefile
@@ -1,5 +1,21 @@
1ifdef CONFIG_MMU 1#
2include arch/m68k/kernel/Makefile_mm 2# Makefile for the linux kernel.
3else 3#
4include arch/m68k/kernel/Makefile_no 4
5extra-$(CONFIG_MMU) := head.o
6extra-$(CONFIG_SUN3) := sun3-head.o
7extra-y += vmlinux.lds
8
9obj-y := entry.o m68k_ksyms.o module.o process.o ptrace.o setup.o signal.o \
10 sys_m68k.o syscalltable.o time.o traps.o
11
12obj-$(CONFIG_MMU) += ints.o devres.o
13devres-$(CONFIG_MMU) = ../../../kernel/irq/devres.o
14
15ifndef CONFIG_MMU_SUN3
16obj-y += dma.o
5endif 17endif
18ifndef CONFIG_MMU
19obj-y += init_task.o irq.o
20endif
21