Merge branch 'cpus4096-for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6] / arch / s390 / kernel / Makefile
CommitLineData
1da177e4
LT
1#
2# Makefile for the linux kernel.
3#
4
5d360a75
HC
5ifdef CONFIG_FUNCTION_TRACER
6# Do not trace early boot code
7CFLAGS_REMOVE_early.o = -pg
8endif
9
98c7b388
HC
10#
11# Passing null pointers is ok for smp code, since we access the lowcore here.
12#
13CFLAGS_smp.o := -Wno-nonnull
14
63506c41
MS
15#
16# Pass UTS_MACHINE for user_regset definition
17#
18CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
19
395d31d4
MS
20obj-y := bitmap.o traps.o time.o process.o base.o early.o setup.o \
21 processor.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o \
b020632e 22 s390_ext.o debug.o irq.o ipl.o dis.o diag.o mem_detect.o \
c185b783 23 vdso.o vtime.o
1da177e4 24
347a8dc3
MS
25obj-y += $(if $(CONFIG_64BIT),entry64.o,entry.o)
26obj-y += $(if $(CONFIG_64BIT),reipl64.o,reipl.o)
27
0ad775db 28extra-y += head.o init_task.o vmlinux.lds
1da177e4
LT
29
30obj-$(CONFIG_MODULES) += s390_ksyms.o module.o
dbd70fb4 31obj-$(CONFIG_SMP) += smp.o topology.o
1da177e4 32
c0803799
AV
33obj-$(CONFIG_AUDIT) += audit.o
34compat-obj-$(CONFIG_AUDIT) += compat_audit.o
347a8dc3 35obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \
f84dfe82 36 compat_wrapper.o compat_exec_domain.o \
63506c41 37 $(compat-obj-y)
1da177e4 38
5bdc9b44 39obj-$(CONFIG_STACKTRACE) += stacktrace.o
4ba069b8 40obj-$(CONFIG_KPROBES) += kprobes.o
5d360a75 41obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
1da177e4 42
cf13f0ea
HC
43# Kexec part
44S390_KEXEC_OBJS := machine_kexec.o crash.o
347a8dc3 45S390_KEXEC_OBJS += $(if $(CONFIG_64BIT),relocate_kernel64.o,relocate_kernel.o)
cf13f0ea
HC
46obj-$(CONFIG_KEXEC) += $(S390_KEXEC_OBJS)
47
b020632e
MS
48# vdso
49obj-$(CONFIG_64BIT) += vdso64/
50obj-$(CONFIG_32BIT) += vdso32/
51obj-$(CONFIG_COMPAT) += vdso32/