patch-1.3.19 linux/arch/i386/kernel/Makefile

Next file: linux/arch/i386/lib/Makefile
Previous file: linux/arch/i386/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/arch/i386/kernel/Makefile linux/arch/i386/kernel/Makefile
@@ -7,33 +7,21 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
-.s.o:
-	$(AS) -o $*.o $<
-.c.o:
-	$(CC) $(CFLAGS) -c $<
 #.S.s:
 #	$(CPP) -D__ASSEMBLY__ -traditional $< -o $*.s
 .S.o:
 	$(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
 
-OBJS  = process.o signal.o entry.o traps.o irq.o vm86.o bios32.o ptrace.o \
-	ioport.o ldt.o setup.o sys_i386.o
-
 all: kernel.o head.o
+O_TARGET := kernel.o
+O_OBJS   := process.o signal.o entry.o traps.o irq.o vm86.o bios32.o \
+            ptrace.o ioport.o ldt.o setup.o sys_i386.o
+
 
 #head.o: head.s
 
 head.o: head.S $(TOPDIR)/include/linux/tasks.h
 	$(CC) -D__ASSEMBLY__ -traditional -c $*.S -o $*.o
 #	$(CPP) -traditional -o $*.s $<
-
-kernel.o: $(OBJS)
-	$(LD) -r -o kernel.o $(OBJS)
-	sync
-
-dep:
-	$(CPP) -M *.c > .depend
-
-modules:
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this