patch-2.4.19 linux-2.4.19/arch/mips64/tools/Makefile

Next file: linux-2.4.19/arch/parisc/kernel/pdc_cons.c
Previous file: linux-2.4.19/arch/mips64/sgi-ip32/ip32-timer.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips64/tools/Makefile linux-2.4.19/arch/mips64/tools/Makefile
@@ -7,10 +7,7 @@
 #
 TARGET	:= $(TOPDIR)/include/asm-$(ARCH)/offset.h
 
-.S.s:
-	$(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
-	$(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
 
 $(TARGET): offset.h
 	cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
@@ -23,8 +20,7 @@
 clean:
 	rm -f offset.[hs] $(TARGET).new
 	
-mrproper:	
-	rm -f offset.[hs] $(TARGET).new
+mrproper: clean
 	rm -f $(TARGET)
 
 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)