summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann2009-05-14 00:56:38 +0200
committerArnd Bergmann2009-06-11 21:02:51 +0200
commit26a28fa4fea5b8c65713aa50c124f76a88c7924d (patch)
tree95d5989e0cdcb4f565d7546b4c0fd76e30cfd249 /lib/Makefile
parentasm-generic: add a generic uaccess.h (diff)
downloadkernel-qcow2-linux-26a28fa4fea5b8c65713aa50c124f76a88c7924d.tar.gz
kernel-qcow2-linux-26a28fa4fea5b8c65713aa50c124f76a88c7924d.tar.xz
kernel-qcow2-linux-26a28fa4fea5b8c65713aa50c124f76a88c7924d.zip
add generic lib/checksum.c
Add a generic (unoptimized) implementation of checksum.c in pure C for use by all architectures that cannot be bother with implementing their own version. Based on microblaze code by Michal Simek <monstr@monstr.eu> Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 33a40e40e3ee..b6869e12e743 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -92,6 +92,8 @@ obj-$(CONFIG_NLATTR) += nlattr.o
obj-$(CONFIG_DMA_API_DEBUG) += dma-debug.o
+obj-$(CONFIG_GENERIC_CSUM) += checksum.o
+
hostprogs-y := gen_crc32table
clean-files := crc32table.h