2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the linux kernel.
|
|
|
|
#
|
|
|
|
|
2008-03-05 11:37:09 +00:00
|
|
|
#
|
|
|
|
# Passing null pointers is ok for smp code, since we access the lowcore here.
|
|
|
|
#
|
|
|
|
CFLAGS_smp.o := -Wno-nonnull
|
|
|
|
|
2007-02-05 20:18:37 +00:00
|
|
|
obj-y := bitmap.o traps.o time.o process.o base.o early.o \
|
2005-04-16 22:20:36 +00:00
|
|
|
setup.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o \
|
2008-03-08 02:55:58 +00:00
|
|
|
s390_ext.o debug.o irq.o ipl.o dis.o diag.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2006-01-06 08:19:28 +00:00
|
|
|
obj-y += $(if $(CONFIG_64BIT),entry64.o,entry.o)
|
|
|
|
obj-y += $(if $(CONFIG_64BIT),reipl64.o,reipl.o)
|
|
|
|
|
2005-11-07 08:59:12 +00:00
|
|
|
extra-y += head.o init_task.o vmlinux.lds
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_MODULES) += s390_ksyms.o module.o
|
2008-04-17 05:46:12 +00:00
|
|
|
obj-$(CONFIG_SMP) += smp.o topology.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2006-08-31 23:02:42 +00:00
|
|
|
obj-$(CONFIG_AUDIT) += audit.o
|
|
|
|
compat-obj-$(CONFIG_AUDIT) += compat_audit.o
|
2006-01-06 08:19:28 +00:00
|
|
|
obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \
|
2006-07-10 11:45:39 +00:00
|
|
|
compat_wrapper.o compat_exec_domain.o \
|
2006-08-31 23:02:42 +00:00
|
|
|
binfmt_elf32.o $(compat-obj-y)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_VIRT_TIMER) += vtime.o
|
2006-07-03 07:24:41 +00:00
|
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
2006-09-20 13:58:39 +00:00
|
|
|
obj-$(CONFIG_KPROBES) += kprobes.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2005-06-25 21:58:11 +00:00
|
|
|
# Kexec part
|
|
|
|
S390_KEXEC_OBJS := machine_kexec.o crash.o
|
2006-01-06 08:19:28 +00:00
|
|
|
S390_KEXEC_OBJS += $(if $(CONFIG_64BIT),relocate_kernel64.o,relocate_kernel.o)
|
2005-06-25 21:58:11 +00:00
|
|
|
obj-$(CONFIG_KEXEC) += $(S390_KEXEC_OBJS)
|
|
|
|
|