patch-2.3.23 linux/drivers/acorn/scsi/Makefile
Next file: linux/drivers/block/Config.in
Previous file: linux/drivers/acorn/net/net-probe.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Wed Oct 20 16:29:08 1999
-  Orig file: 
v2.3.22/linux/drivers/acorn/scsi/Makefile
-  Orig date: 
Thu Jun 17 01:11:35 1999
diff -u --recursive --new-file v2.3.22/linux/drivers/acorn/scsi/Makefile linux/drivers/acorn/scsi/Makefile
@@ -108,14 +108,8 @@
 
 include $(TOPDIR)/Rules.make
 
+.S.o:
+	$(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c -o $*.o $<
+
 acornscsi_mod.o: acornscsi.o acornscsi-io.o
 	$(LD) $(LD_RFLAG) -r -o $@ acornscsi.o acornscsi-io.o
-
-%.o: %.S
-ifndef $(CONFIG_BINUTILS_NEW)
-	$(CC) $(CFLAGS) -D__ASSEMBLY__ -E $< | tr ';$$' '\n#' > ..tmp.$<.s
-	$(CC) $(CFLAGS:-pipe=) -c -o $@ ..tmp.$<.s
-	$(RM) ..tmp.$<.s
-else
-	$(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
-endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)