blob: ae54eee5afe047ec6a9cd7cbe2cf448819d286ee [file] [log] [blame]
wdenked9a2d32002-02-24 23:28:19 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenked9a2d32002-02-24 23:28:19 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenked9a2d32002-02-24 23:28:19 +00006#
7
Masahiro Yamada0d68fb12014-02-04 17:24:28 +09008#ccflags-y += -DDEBUG
wdenked9a2d32002-02-24 23:28:19 +00009
Simon Glass00153912015-01-19 22:16:07 -070010obj-y += checksum.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090011obj-$(CONFIG_CMD_NET) += arp.o
12obj-$(CONFIG_CMD_NET) += bootp.o
13obj-$(CONFIG_CMD_CDP) += cdp.o
14obj-$(CONFIG_CMD_DNS) += dns.o
Simon Glassc6011d22016-01-17 14:52:00 -070015ifdef CONFIG_DM_ETH
16obj-$(CONFIG_CMD_NET) += eth-uclass.o
17else
Simon Glass8602d5c2016-01-17 14:52:01 -070018obj-$(CONFIG_CMD_NET) += eth_legacy.o
Simon Glassc6011d22016-01-17 14:52:00 -070019endif
Simon Glass0a9bde12016-01-17 14:51:57 -070020obj-$(CONFIG_CMD_NET) += eth_common.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090021obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
22obj-$(CONFIG_CMD_NET) += net.o
23obj-$(CONFIG_CMD_NFS) += nfs.o
24obj-$(CONFIG_CMD_PING) += ping.o
25obj-$(CONFIG_CMD_RARP) += rarp.o
26obj-$(CONFIG_CMD_SNTP) += sntp.o
27obj-$(CONFIG_CMD_NET) += tftp.o
Tom Rinie44b3852017-05-10 15:26:06 -040028
29# Disable this warning as it is triggered by:
30# sprintf(buf, index ? "foo%d" : "foo", index)
31# and this is intentional usage.
32CFLAGS_eth_common.o += -Wno-format-extra-args