Greg Ungerer | 0a01b31 | 2011-06-21 16:21:00 +1000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | extra-$(CONFIG_MMU) := head.o |
| 6 | extra-$(CONFIG_SUN3) := sun3-head.o |
| 7 | extra-y += vmlinux.lds |
| 8 | |
| 9 | obj-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 | |
Geert Uytterhoeven | 4936f63 | 2011-04-21 22:50:52 +0200 | [diff] [blame^] | 12 | obj-$(CONFIG_MMU) += ints.o vectors.o |
Greg Ungerer | 0a01b31 | 2011-06-21 16:21:00 +1000 | [diff] [blame] | 13 | devres-$(CONFIG_MMU) = ../../../kernel/irq/devres.o |
| 14 | |
| 15 | ifndef CONFIG_MMU_SUN3 |
| 16 | obj-y += dma.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | endif |
Greg Ungerer | 0a01b31 | 2011-06-21 16:21:00 +1000 | [diff] [blame] | 18 | ifndef CONFIG_MMU |
Geert Uytterhoeven | 4936f63 | 2011-04-21 22:50:52 +0200 | [diff] [blame^] | 19 | obj-y += init_task.o |
| 20 | endif |
| 21 | ifdef CONFIG_GENERIC_HARDIRQS |
| 22 | obj-y += irq.o |
| 23 | else |
| 24 | obj-y += devres.o |
Greg Ungerer | 0a01b31 | 2011-06-21 16:21:00 +1000 | [diff] [blame] | 25 | endif |
| 26 | |