summaryrefslogtreecommitdiffstats
path: root/arch/i386/lib/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
commitb2ad5f821b1381492d792ca10b1eb7a107b48f14 (patch)
tree954a648692e7da983db1d2470953705f6a729264 /arch/i386/lib/Makefile
parentc9c06167e7933d93a6e396174c68abf242294abb (diff)
Merge with Linux 2.4.0-prerelease. Big Makefile rewrite, test your
Makefiles.
Diffstat (limited to 'arch/i386/lib/Makefile')
-rw-r--r--arch/i386/lib/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/i386/lib/Makefile b/arch/i386/lib/Makefile
index abafc528d..bfb9ae050 100644
--- a/arch/i386/lib/Makefile
+++ b/arch/i386/lib/Makefile
@@ -6,16 +6,12 @@
$(CC) $(AFLAGS) -c $< -o $*.o
L_TARGET = lib.a
-L_OBJS = checksum.o old-checksum.o delay.o \
+
+obj-y = checksum.o old-checksum.o delay.o \
usercopy.o getuser.o putuser.o iodebug.o \
memcpy.o
-ifdef CONFIG_X86_USE_3DNOW
-L_OBJS += mmx.o
-endif
-
-ifdef CONFIG_HAVE_DEC_LOCK
-L_OBJS += dec_and_lock.o
-endif
+obj-$(CONFIG_X86_USE_3DNOW) += mmx.o
+obj-$(CONFIG_HAVE_DEC_LOCK) += dec_and_lock.o
include $(TOPDIR)/Rules.make