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

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)