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

Next file: linux/arch/i386/kernel/entry.S
Previous file: linux/arch/i386/ibcs/emulate.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.4/linux/arch/i386/kernel/Makefile linux/arch/i386/kernel/Makefile
@@ -13,8 +13,8 @@
 	$(AS) -o $*.o $<
 .c.o:
 	$(CC) $(CFLAGS) -c $<
-.S.s:
-	$(CPP) -D__ASSEMBLY__ -traditional $< -o $*.s
+#.S.s:
+#	$(CPP) -D__ASSEMBLY__ -traditional $< -o $*.s
 .S.o:
 	$(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
 
@@ -23,10 +23,11 @@
 
 all: kernel.o head.o
 
-head.o: head.s
+#head.o: head.s
 
-head.s: head.S $(TOPDIR)/include/linux/tasks.h
-	$(CPP) -traditional -o $*.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)

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