patch-2.2.14 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

diff -u --recursive --new-file v2.2.13/linux/arch/s390/kernel/Makefile linux/arch/s390/kernel/Makefile
@@ -0,0 +1,51 @@
+#
+# 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...
+
+ifdef CONFIG_SMP
+.S.o:
+	$(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+else
+.S.o:
+	$(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
+endif
+
+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 \
+            s390fpu.o s390io.o 
+
+OX_OBJS  := s390ksyms.o
+MX_OBJS  :=
+
+ifdef CONFIG_SMP
+O_OBJS += smp.o
+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)