9b0e35cb48
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>
23 lines
571 B
Makefile
23 lines
571 B
Makefile
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
#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
|
|
obj-$(CONFIG_CMD_DNS) += dns.o
|
|
obj-$(CONFIG_CMD_NET) += eth.o
|
|
obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
|
|
obj-$(CONFIG_CMD_NET) += net.o
|
|
obj-$(CONFIG_CMD_NFS) += nfs.o
|
|
obj-$(CONFIG_CMD_PING) += ping.o
|
|
obj-$(CONFIG_CMD_RARP) += rarp.o
|
|
obj-$(CONFIG_CMD_SNTP) += sntp.o
|
|
obj-$(CONFIG_CMD_NET) += tftp.o
|