blob: fef71b940a0fa45b853ec5e6a3b27c7b126f22d8 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenked9a2d32002-02-24 23:28:19 +00002#
Marian Balakowiczf9328632006-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 Yamada6825a952014-02-04 17:24:28 +09006#ccflags-y += -DDEBUG
wdenked9a2d32002-02-24 23:28:19 +00007
Joe Hershberger5f967c02018-04-13 15:26:38 -05008obj-$(CONFIG_NET) += arp.o
Joe Hershbergerd7a45ea2018-04-13 15:26:30 -05009obj-$(CONFIG_CMD_BOOTP) += bootp.o
Masahiro Yamada9cc11802013-10-17 17:35:00 +090010obj-$(CONFIG_CMD_CDP) += cdp.o
11obj-$(CONFIG_CMD_DNS) += dns.o
Simon Glassdb9391e2016-01-17 14:52:00 -070012ifdef CONFIG_DM_ETH
Joe Hershberger5f967c02018-04-13 15:26:38 -050013obj-$(CONFIG_NET) += eth-uclass.o
Simon Glassdb9391e2016-01-17 14:52:00 -070014else
Joe Hershberger5f967c02018-04-13 15:26:38 -050015obj-$(CONFIG_NET) += eth_legacy.o
Simon Glassdb9391e2016-01-17 14:52:00 -070016endif
Alex Margineanc3452b52019-06-03 19:10:30 +030017obj-$(CONFIG_DM_MDIO) += mdio-uclass.o
Alex Marginean8880edb2019-07-12 10:13:50 +030018obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o
Joe Hershberger5f967c02018-04-13 15:26:38 -050019obj-$(CONFIG_NET) += eth_common.o
Masahiro Yamada9cc11802013-10-17 17:35:00 +090020obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
Joe Hershberger5f967c02018-04-13 15:26:38 -050021obj-$(CONFIG_NET) += net.o
Masahiro Yamada9cc11802013-10-17 17:35:00 +090022obj-$(CONFIG_CMD_NFS) += nfs.o
23obj-$(CONFIG_CMD_PING) += ping.o
Ramon Fried3eaac632019-07-18 21:43:30 +030024obj-$(CONFIG_CMD_PCAP) += pcap.o
Masahiro Yamada9cc11802013-10-17 17:35:00 +090025obj-$(CONFIG_CMD_RARP) += rarp.o
26obj-$(CONFIG_CMD_SNTP) += sntp.o
Joe Hershbergerd7a45ea2018-04-13 15:26:30 -050027obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o
Alex Kiernanf73a7df2018-05-29 15:30:53 +000028obj-$(CONFIG_UDP_FUNCTION_FASTBOOT) += fastboot.o
Lothar Feltend8970da2018-06-22 22:29:54 +020029obj-$(CONFIG_CMD_WOL) += wol.o
Tom Rini94443872017-05-10 15:26:06 -040030
31# Disable this warning as it is triggered by:
32# sprintf(buf, index ? "foo%d" : "foo", index)
33# and this is intentional usage.
34CFLAGS_eth_common.o += -Wno-format-extra-args