patch-2.3.16 linux/arch/sh/kernel/Makefile

Next file: linux/arch/sh/kernel/entry.S
Previous file: linux/arch/sh/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/arch/sh/kernel/Makefile linux/arch/sh/kernel/Makefile
@@ -0,0 +1,27 @@
+#
+# Makefile for the Linux/SuperH 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).
+#
+
+.S.o:
+	$(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+
+O_TARGET := kernel.o
+O_OBJS   := process.o signal.o entry.o traps.o irq.o irq_onchip.o \
+            ptrace.o setup.o time.o sys_sh.o test-img.o semaphore.o
+OX_OBJS  := sh_ksyms.o
+MX_OBJS  :=
+
+all: kernel.o head.o init_task.o
+
+entry.o: entry.S
+
+head.o: head.S
+	$(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $*.S -o $*.o
+
+clean:
+
+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)