patch-2.1.16 linux/arch/sparc/kernel/Makefile

Next file: linux/arch/sparc/kernel/auxio.c
Previous file: linux/arch/sparc/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/arch/sparc/kernel/Makefile linux/arch/sparc/kernel/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.34 1996/09/21 04:07:31 davem Exp $
+# $Id: Makefile,v 1.35 1996/11/13 05:09:15 davem Exp $
 # Makefile for the linux kernel.
 #
 # Note! Dependencies are done automagically by 'make dep', which also
@@ -27,7 +27,7 @@
 
 endif
 
-all: kernel.o head.o
+all: kernel.o head.o initobj.o finitobj.o
 
 O_TARGET := kernel.o
 IRQ_OBJS := irq.o sun4m_irq.o sun4c_irq.o
@@ -36,7 +36,7 @@
 	    sys_sparc.o sunos_asm.o sparc-stub.o systbls.o sys_sunos.o  \
 	    sunos_ioctl.o time.o windows.o cpu.o devices.o \
 	    sclow.o solaris.o tadpole.o tick14.o ptrace.o sys_solaris.o \
-	    unaligned.o
+	    unaligned.o muldiv.o
 
 OX_OBJS  := sparc_ksyms.o
 
@@ -48,8 +48,6 @@
 O_OBJS += auxio.o
 endif
 
-all: kernel.o head.o
-
 ifdef SMP
 
 head.o: head.S
@@ -61,5 +59,12 @@
 	$(CC) -D__ASSEMBLY__ -ansi -c $*.S -o $*.o
 
 endif
+
+initobj.o: initobj.S
+	$(CC) -D__ASSEMBLY__ -ansi -c initobj.S -o initobj.o
+
+finitobj.o: initobj.S
+	$(CC) -D__ASSEMBLY__ -ansi -c finitobj.S -o finitobj.o
+
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov