patch-2.4.4 linux/lib/Makefile
Next file: linux/lib/cmdline.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Wed Apr 25 13:31:03 2001
- Orig file:
v2.4.3/linux/lib/Makefile
- Orig date:
Fri Dec 29 14:07:24 2000
diff -u --recursive --new-file v2.4.3/linux/lib/Makefile linux/lib/Makefile
@@ -8,9 +8,12 @@
L_TARGET := lib.a
-export-objs := cmdline.o
+export-objs := cmdline.o rwsem-spinlock.o rwsem.o
obj-y := errno.o ctype.o string.o vsprintf.o brlock.o cmdline.o
+
+obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
+obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
ifneq ($(CONFIG_HAVE_DEC_LOCK),y)
obj-y += dec_and_lock.o
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)