patch-2.4.22 linux-2.4.22/arch/mips/momentum/ocelot_g/Makefile

Next file: linux-2.4.22/arch/mips/momentum/ocelot_g/dbg_io.c
Previous file: linux-2.4.22/arch/mips/momentum/ocelot_c/uart-irq.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/momentum/ocelot_g/Makefile linux-2.4.22/arch/mips/momentum/ocelot_g/Makefile
@@ -6,15 +6,12 @@
 # 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
 
 O_TARGET:= ocelot_g.o
 
-obj-y	 += gt-irq.o pci-irq.o pci.o int-handler.o irq.o prom.o reset.o setup.o
-
-obj-$(CONFIG_REMOTE_DEBUG) += dbg_io.o
+obj-y	 	+= gt-irq.o pci-irq.o int-handler.o irq.o prom.o reset.o setup.o
+obj-$(CONFIG_KGDB)	+= dbg_io.o
+obj-$(CONFIG_PCI)	+= pci.o
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)