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

Next file: linux-2.4.19/arch/mips64/lib/dump_tlb.c
Previous file: linux-2.4.19/arch/mips64/ld.script.elf64
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips64/lib/Makefile linux-2.4.19/arch/mips64/lib/Makefile
@@ -2,16 +2,16 @@
 # Makefile for MIPS-specific library files..
 #
 
-.S.s:
-	$(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
-	$(CC) $(CFLAGS) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
 
 L_TARGET = lib.a
 
-obj-y	+= csum_partial.o csum_partial_copy.o dump_tlb.o floppy-std.o \
-	  floppy-no.o ide-std.o ide-no.o kbd-std.o kbd-no.o rtc-std.o \
+obj-y	+= csum_partial.o csum_partial_copy.o dump_tlb.o rtc-std.o \
 	  rtc-no.o memset.o memcpy.o strlen_user.o strncpy_user.o \
 	  strnlen_user.o watch.o
 
+obj-$(CONFIG_BLK_DEV_FD)	+= floppy-no.o floppy-std.o
+obj-$(CONFIG_IDE)		+= ide-std.o ide-no.o
+obj-$(CONFIG_PC_KEYB)		+= kbd-std.o kbd-no.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)