patch-2.3.99-pre8 linux/arch/s390/kernel/Makefile
Next file: linux/arch/s390/kernel/bitmap.S
Previous file: linux/arch/s390/defconfig
Back to the patch index
Back to the overall index
- Lines: 55
- Date:
Fri May 12 11:41:44 2000
- Orig file:
v2.3.99-pre7/linux/arch/s390/kernel/Makefile
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.3.99-pre7/linux/arch/s390/kernel/Makefile linux/arch/s390/kernel/Makefile
@@ -0,0 +1,54 @@
+#
+# Makefile for the linux kernel.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definitions are now in the main makefile...
+
+.S.o:
+ $(CC) $(AFLAGS) -traditional -c $< -o $*.o
+
+all: kernel.o head.o init_task.o
+
+O_TARGET := kernel.o
+O_OBJS := lowcore.o entry.o bitmap.o traps.o time.o process.o irq.o \
+ setup.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o \
+ semaphore.o s390fpu.o s390io.o s390mach.o s390dyn.o reipl.o
+OX_OBJS := s390_ksyms.o
+MX_OBJS :=
+
+ifdef CONFIG_SMP
+O_OBJS += smp.o
+endif
+
+ifdef CONFIG_PCI
+O_OBJS += bios32.o
+endif
+
+ifdef CONFIG_MCA
+O_OBJS += mca.o
+endif
+
+ifeq ($(CONFIG_MTRR),y)
+OX_OBJS += mtrr.o
+else
+ ifeq ($(CONFIG_MTRR),m)
+ MX_OBJS += mtrr.o
+ endif
+endif
+
+ifeq ($(CONFIG_IEEEFPU_EMULATION),y)
+ O_OBJS += mathemu.o floatlib.o
+endif
+
+#
+# Kernel debugging
+#
+ifdef CONFIG_REMOTE_DEBUG
+O_OBJS += gdb-stub.o #gdb-low.o
+endif
+
+include $(TOPDIR)/Rules.make
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)