Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | EXTRA_AFLAGS := -traditional |
| 6 | |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 7 | obj-y := bitmap.o traps.o time.o process.o base.o early.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | setup.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o \ |
Michael Holzheu | 0a87c5c | 2007-08-22 13:51:40 +0200 | [diff] [blame^] | 9 | semaphore.o s390_ext.o debug.o irq.o ipl.o dis.o diag.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Martin Schwidefsky | 347a8dc | 2006-01-06 00:19:28 -0800 | [diff] [blame] | 11 | obj-y += $(if $(CONFIG_64BIT),entry64.o,entry.o) |
| 12 | obj-y += $(if $(CONFIG_64BIT),reipl64.o,reipl.o) |
| 13 | |
Heiko Carstens | 0ad775d | 2005-11-07 00:59:12 -0800 | [diff] [blame] | 14 | extra-y += head.o init_task.o vmlinux.lds |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | obj-$(CONFIG_MODULES) += s390_ksyms.o module.o |
| 17 | obj-$(CONFIG_SMP) += smp.o |
| 18 | |
Al Viro | c080379 | 2006-08-31 19:02:42 -0400 | [diff] [blame] | 19 | obj-$(CONFIG_AUDIT) += audit.o |
| 20 | compat-obj-$(CONFIG_AUDIT) += compat_audit.o |
Martin Schwidefsky | 347a8dc | 2006-01-06 00:19:28 -0800 | [diff] [blame] | 21 | obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \ |
Heiko Carstens | f84dfe8 | 2006-07-10 04:45:39 -0700 | [diff] [blame] | 22 | compat_wrapper.o compat_exec_domain.o \ |
Al Viro | c080379 | 2006-08-31 19:02:42 -0400 | [diff] [blame] | 23 | binfmt_elf32.o $(compat-obj-y) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | obj-$(CONFIG_VIRT_TIMER) += vtime.o |
Heiko Carstens | 5bdc9b4 | 2006-07-03 00:24:41 -0700 | [diff] [blame] | 26 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
Michael Grundy | 4ba069b | 2006-09-20 15:58:39 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_KPROBES) += kprobes.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
Heiko Carstens | cf13f0e | 2005-06-25 14:58:11 -0700 | [diff] [blame] | 29 | # Kexec part |
| 30 | S390_KEXEC_OBJS := machine_kexec.o crash.o |
Martin Schwidefsky | 347a8dc | 2006-01-06 00:19:28 -0800 | [diff] [blame] | 31 | S390_KEXEC_OBJS += $(if $(CONFIG_64BIT),relocate_kernel64.o,relocate_kernel.o) |
Heiko Carstens | cf13f0e | 2005-06-25 14:58:11 -0700 | [diff] [blame] | 32 | obj-$(CONFIG_KEXEC) += $(S390_KEXEC_OBJS) |
| 33 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | # |
| 35 | # This is just to get the dependencies... |
| 36 | # |
| 37 | binfmt_elf32.o: $(TOPDIR)/fs/binfmt_elf.c |