linux-bk/lib/Makefile
<<
>>
Prefs
   1#
   2# Makefile for some libs needed in the kernel.
   3#
   4
   5
   6lib-y := errno.o ctype.o string.o vsprintf.o cmdline.o \
   7         bust_spinlocks.o rbtree.o radix-tree.o dump_stack.o \
   8         kobject.o idr.o div64.o parser.o int_sqrt.o mask.o
   9
  10lib-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
  11lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
  12
  13ifneq ($(CONFIG_HAVE_DEC_LOCK),y) 
  14  lib-y += dec_and_lock.o
  15endif
  16
  17obj-$(CONFIG_CRC32)     += crc32.o
  18
  19obj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate/
  20obj-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate/
  21
  22host-progs      := gen_crc32table
  23clean-files     := crc32table.h
  24
  25$(obj)/crc32.o: $(obj)/crc32table.h
  26
  27quiet_cmd_crc32 = GEN     $@
  28      cmd_crc32 = $< > $@
  29
  30$(obj)/crc32table.h: $(obj)/gen_crc32table
  31        $(call cmd,crc32)
  32
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.