blob: 07466879f501f77aea77853b9f2ba609f7ad64a7 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenked9a2d32002-02-24 23:28:19 +00002#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003# (C) Copyright 2000-2006
wdenked9a2d32002-02-24 23:28:19 +00004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenked9a2d32002-02-24 23:28:19 +00005
Masahiro Yamada0d68fb12014-02-04 17:24:28 +09006#ccflags-y += -DDEBUG
wdenked9a2d32002-02-24 23:28:19 +00007
Simon Glass00153912015-01-19 22:16:07 -07008obj-y += checksum.o
Joe Hershberger33c791b2018-04-13 15:26:38 -05009obj-$(CONFIG_NET) += arp.o
Joe Hershbergerb0429462018-04-13 15:26:30 -050010obj-$(CONFIG_CMD_BOOTP) += bootp.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090011obj-$(CONFIG_CMD_CDP) += cdp.o
12obj-$(CONFIG_CMD_DNS) += dns.o
Simon Glassc6011d22016-01-17 14:52:00 -070013ifdef CONFIG_DM_ETH
Joe Hershberger33c791b2018-04-13 15:26:38 -050014obj-$(CONFIG_NET) += eth-uclass.o
Simon Glassc6011d22016-01-17 14:52:00 -070015else
Joe Hershberger33c791b2018-04-13 15:26:38 -050016obj-$(CONFIG_NET) += eth_legacy.o
Simon Glassc6011d22016-01-17 14:52:00 -070017endif
Joe Hershberger33c791b2018-04-13 15:26:38 -050018obj-$(CONFIG_NET) += eth_common.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090019obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
Joe Hershberger33c791b2018-04-13 15:26:38 -050020obj-$(CONFIG_NET) += net.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090021obj-$(CONFIG_CMD_NFS) += nfs.o
22obj-$(CONFIG_CMD_PING) += ping.o
23obj-$(CONFIG_CMD_RARP) += rarp.o
24obj-$(CONFIG_CMD_SNTP) += sntp.o
Joe Hershbergerb0429462018-04-13 15:26:30 -050025obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o
Alex Kiernand5aa57c2018-05-29 15:30:53 +000026obj-$(CONFIG_UDP_FUNCTION_FASTBOOT) += fastboot.o
Tom Rinie44b3852017-05-10 15:26:06 -040027
28# Disable this warning as it is triggered by:
29# sprintf(buf, index ? "foo%d" : "foo", index)
30# and this is intentional usage.
31CFLAGS_eth_common.o += -Wno-format-extra-args