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

Next file: linux/arch/ppc/math-emu/Makefile
Previous file: linux/arch/ppc/kernel/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/arch/ppc/lib/Makefile linux/arch/ppc/lib/Makefile
@@ -5,12 +5,10 @@
 .S.o:
 	$(CC) $(AFLAGS) -c $< -o $*.o
 
-O_TARGET = lib.o
-O_OBJS  = checksum.o string.o strcase.o
+O_TARGET		:= lib.o
 
-ifdef CONFIG_SMP
-O_OBJS += locks.o
-endif
+obj-y			:= checksum.o string.o strcase.o
 
+obj-$(CONFIG_SMP)	:= locks.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)