patch-2.4.22 linux-2.4.22/arch/mips/sni/Makefile
Next file: linux-2.4.22/arch/mips/sni/int-handler.S
Previous file: linux-2.4.22/arch/mips/sibyte/swarm/setup.c
Back to the patch index
Back to the overall index
-  Lines: 22
 -  Date:
2003-08-25 04:44:40.000000000 -0700
 -  Orig file: 
linux-2.4.21/arch/mips/sni/Makefile
 -  Orig date: 
2001-04-13 20:26:07.000000000 -0700
 
diff -urN linux-2.4.21/arch/mips/sni/Makefile linux-2.4.22/arch/mips/sni/Makefile
@@ -6,16 +6,16 @@
 # unless it's something special (ie not a .c file).
 #
 
-.S.s:
-	$(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
-	$(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
 
 all:	sni.o int-handler.o
 
 O_TARGET := sni.o
 
-obj-y	 := int-handler.o io.o irq.o pci.o pcimt_scache.o reset.o setup.o
+obj-y	 		+= int-handler.o io.o irq.o pcimt_scache.o reset.o \
+			   setup.o
+
+obj-$(CONFIG_PCI)	+= pci.o
 
 int-handler.o: int-handler.S
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)