2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for the linux kernel.
|
|
|
|
#
|
|
|
|
|
|
|
|
EXTRA_AFLAGS := -traditional
|
|
|
|
|
|
|
|
obj-y := bitmap.o traps.o time.o process.o \
|
|
|
|
setup.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o \
|
2005-09-17 10:27:35 +08:00
|
|
|
semaphore.o s390_ext.o debug.o profile.o irq.o reipl_diag.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2006-01-06 16:19:28 +08:00
|
|
|
obj-y += $(if $(CONFIG_64BIT),entry64.o,entry.o)
|
|
|
|
obj-y += $(if $(CONFIG_64BIT),reipl64.o,reipl.o)
|
|
|
|
|
2005-11-07 16:59:12 +08:00
|
|
|
extra-y += head.o init_task.o vmlinux.lds
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_MODULES) += s390_ksyms.o module.o
|
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
|
|
|
2006-01-06 16:19:28 +08:00
|
|
|
obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \
|
2006-07-10 19:45:39 +08:00
|
|
|
compat_wrapper.o compat_exec_domain.o \
|
|
|
|
binfmt_elf32.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_VIRT_TIMER) += vtime.o
|
2006-07-03 15:24:41 +08:00
|
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-06-26 05:58:11 +08:00
|
|
|
# Kexec part
|
|
|
|
S390_KEXEC_OBJS := machine_kexec.o crash.o
|
2006-01-06 16:19:28 +08:00
|
|
|
S390_KEXEC_OBJS += $(if $(CONFIG_64BIT),relocate_kernel64.o,relocate_kernel.o)
|
2005-06-26 05:58:11 +08:00
|
|
|
obj-$(CONFIG_KEXEC) += $(S390_KEXEC_OBJS)
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# This is just to get the dependencies...
|
|
|
|
#
|
|
|
|
binfmt_elf32.o: $(TOPDIR)/fs/binfmt_elf.c
|