patch-2.4.0-prerelease linux/arch/sh/lib/Makefile

Next file: linux/arch/sh/mm/Makefile
Previous file: linux/arch/sh/kernel/sh_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/arch/sh/lib/Makefile linux/arch/sh/lib/Makefile
@@ -2,11 +2,10 @@
 # Makefile for SuperH-specific library files..
 #
 
-.S.o:
-	$(CC) $(AFLAGS) -traditional -c $< -o $*.o
-
 L_TARGET = lib.a
-L_OBJS  = delay.o memcpy.o memset.o memmove.o memchr.o old-checksum.o \
-	  checksum.o strcasecmp.o
+obj-y  = delay.o memcpy.o memset.o memmove.o memchr.o old-checksum.o \
+	 checksum.o strcasecmp.o
+
+USE_STANDARD_AS_RULE := true
 
 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)