summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2003-06-09 00:07:17 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2003-06-09 00:07:17 +0200
commit18495a2b1d612cb1a9bbfab971bc5eb014ea6306 (patch)
tree7a8bb2041936b0da027234b70e449d744504ab3a /lib
parent4949833a590e03775c29e83154ffb8a615b5c66a (diff)
parent11acea02c4bfe06996672093ad5fac952951b164 (diff)
Merge mars.ravnborg.org:/home/sam/src/linux/kernel/bk/linux-2.5
into mars.ravnborg.org:/home/sam/src/linux/kernel/bk/kbuild
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 897971cc9d1f..5a082e4cb4ad 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,10 +1,6 @@
#
# 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).
-#
lib-y := errno.o ctype.o string.o vsprintf.o cmdline.o \
@@ -24,15 +20,18 @@ 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 drivers/net/Makefile.lib
+include drivers/usb/Makefile.lib
+include fs/Makefile.lib
+include net/bluetooth/bnep/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)