summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-19 22:16:07 -0700
committerSimon Glass <sjg@chromium.org>2015-01-23 21:44:59 -0700
commit9b0e35cb4889eb04a7ea5dd648d73df0bf37cc68 (patch)
tree5e3b454e1d4d9a07de41419d56c62b40633adddf /net/Makefile
parent5da38086bd6c39efd09e57900702b99541844339 (diff)
downloadtalos-obmc-uboot-9b0e35cb4889eb04a7ea5dd648d73df0bf37cc68.tar.gz
talos-obmc-uboot-9b0e35cb4889eb04a7ea5dd648d73df0bf37cc68.zip
net: Add a separate file for IP checksumming
Move the checksum code out into its own file so it can be used elsewhere. Also use a new version which supports a length which is not a multiple of 2 and add a new function to add two checksums. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 942595021d..e9cc8ada96 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -7,6 +7,7 @@
#ccflags-y += -DDEBUG
+obj-y += checksum.o
obj-$(CONFIG_CMD_NET) += arp.o
obj-$(CONFIG_CMD_NET) += bootp.o
obj-$(CONFIG_CMD_CDP) += cdp.o
OpenPOWER on IntegriCloud