blob: 4f757a224c2a135b3b68dcb82469b23ca38a4a4c [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
Joe Hershberger33c791b2018-04-13 15:26:38 -05008obj-$(CONFIG_NET) += arp.o
Joe Hershbergerb0429462018-04-13 15:26:30 -05009obj-$(CONFIG_CMD_BOOTP) += bootp.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090010obj-$(CONFIG_CMD_CDP) += cdp.o
11obj-$(CONFIG_CMD_DNS) += dns.o
Claudiu Manoilc0566c22021-01-25 14:23:53 +020012obj-$(CONFIG_DM_DSA) += dsa-uclass.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 Glass4f840a22022-04-24 23:31:15 -060015obj-$(CONFIG_$(SPL_TPL_)BOOTDEV_ETH) += eth_bootdev.o
Simon Glassc6011d22016-01-17 14:52:00 -070016else
Joe Hershberger33c791b2018-04-13 15:26:38 -050017obj-$(CONFIG_NET) += eth_legacy.o
Simon Glassc6011d22016-01-17 14:52:00 -070018endif
Alex Marginean1a5b0982019-06-03 19:10:30 +030019obj-$(CONFIG_DM_MDIO) += mdio-uclass.o
Alex Margineanab8c2a52019-07-12 10:13:50 +030020obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o
Joe Hershberger33c791b2018-04-13 15:26:38 -050021obj-$(CONFIG_NET) += eth_common.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090022obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
Joe Hershberger33c791b2018-04-13 15:26:38 -050023obj-$(CONFIG_NET) += net.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090024obj-$(CONFIG_CMD_NFS) += nfs.o
25obj-$(CONFIG_CMD_PING) += ping.o
Ramon Friedac598c12019-07-18 21:43:30 +030026obj-$(CONFIG_CMD_PCAP) += pcap.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090027obj-$(CONFIG_CMD_RARP) += rarp.o
28obj-$(CONFIG_CMD_SNTP) += sntp.o
Joe Hershbergerb0429462018-04-13 15:26:30 -050029obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o
Alex Kiernand5aa57c2018-05-29 15:30:53 +000030obj-$(CONFIG_UDP_FUNCTION_FASTBOOT) += fastboot.o
Lothar Felten776fc102018-06-22 22:29:54 +020031obj-$(CONFIG_CMD_WOL) += wol.o
Philippe Reynes6ec70bc2020-09-18 14:13:00 +020032obj-$(CONFIG_PROT_UDP) += udp.o
Ying-Chun Liu (PaulLiu)41efed12022-11-08 14:17:28 +080033obj-$(CONFIG_PROT_TCP) += tcp.o
Ying-Chun Liu (PaulLiu)cc96a1d2022-11-08 14:17:29 +080034obj-$(CONFIG_CMD_WGET) += wget.o
Tom Rinie44b3852017-05-10 15:26:06 -040035
36# Disable this warning as it is triggered by:
37# sprintf(buf, index ? "foo%d" : "foo", index)
38# and this is intentional usage.
39CFLAGS_eth_common.o += -Wno-format-extra-args