summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-06-19 09:35:35 +0000
committerMichael Hunold <devnull@localhost>2003-06-19 09:35:35 +0000
commit777214dae16a3383ab5ca07d6d55f83eee67744a (patch)
treeb1cac576c5cc564ceffe9adf3cc9a5be4c1fafa1 /linux
parent6e65ce7cfe0f8db052e7884b8dcc1300e0fd6506 (diff)
downloadmediapointer-dvb-s2-777214dae16a3383ab5ca07d6d55f83eee67744a.tar.gz
mediapointer-dvb-s2-777214dae16a3383ab5ca07d6d55f83eee67744a.tar.bz2
Sync with latest version from 2.5.72
Diffstat (limited to 'linux')
-rw-r--r--linux/lib/Makefile34
1 files changed, 16 insertions, 18 deletions
diff --git a/linux/lib/Makefile b/linux/lib/Makefile
index 3cda4be52..912186915 100644
--- a/linux/lib/Makefile
+++ b/linux/lib/Makefile
@@ -1,23 +1,18 @@
#
# Makefile for some libs needed in the kernel.
#
-# Note! Dependencies are done automagically by 'make dep', which also
-# removes any old dependencies. DON'T put your own dependencies here
-# unless it's something special (ie not a .c file).
-#
-L_TARGET := lib.a
-obj-y := errno.o ctype.o string.o vsprintf.o cmdline.o \
+lib-y := errno.o ctype.o string.o vsprintf.o cmdline.o \
bust_spinlocks.o rbtree.o radix-tree.o dump_stack.o \
kobject.o idr.o
-obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
-obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
-obj-$(CONFIG_SMP) += percpu_counter.o
+lib-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
+lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
+lib-$(CONFIG_SMP) += percpu_counter.o
ifneq ($(CONFIG_HAVE_DEC_LOCK),y)
- obj-y += dec_and_lock.o
+ lib-y += dec_and_lock.o
endif
obj-$(CONFIG_CRC32) += crc32.o
@@ -25,16 +20,19 @@ obj-$(CONFIG_CRC32) += crc32.o
obj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate/
obj-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate/
-include $(TOPDIR)/drivers/net/Makefile.lib
-include $(TOPDIR)/drivers/usb/Makefile.lib
-include $(TOPDIR)/fs/Makefile.lib
-include $(TOPDIR)/net/bluetooth/bnep/Makefile.lib
-include $(TOPDIR)/drivers/media/dvb/dvb-core/Makefile.lib
+include drivers/net/Makefile.lib
+include drivers/usb/Makefile.lib
+include fs/Makefile.lib
+include net/bluetooth/bnep/Makefile.lib
+include drivers/media/dvb/dvb-core/Makefile.lib
-host-progs := gen_crc32table
-clean-files := crc32table.h
+host-progs := gen_crc32table
+clean-files := crc32table.h
$(obj)/crc32.o: $(obj)/crc32table.h
+quiet_cmd_crc32 = GEN $@
+ cmd_crc32 = $< > $@
+
$(obj)/crc32table.h: $(obj)/gen_crc32table
- ./$< > $@
+ $(call cmd,crc32)