blob: 33c82b5d229fbbdf4834e869fafddc6219b0e516 [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
Jerome Forissiere0f95512024-10-16 12:03:59 +02008ifeq ($(CONFIG_NET),y)
9
Joe Hershberger33c791b2018-04-13 15:26:38 -050010obj-$(CONFIG_NET) += arp.o
Joe Hershbergerb0429462018-04-13 15:26:30 -050011obj-$(CONFIG_CMD_BOOTP) += bootp.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090012obj-$(CONFIG_CMD_CDP) += cdp.o
13obj-$(CONFIG_CMD_DNS) += dns.o
Claudiu Manoilc0566c22021-01-25 14:23:53 +020014obj-$(CONFIG_DM_DSA) += dsa-uclass.o
Simon Glass86adc2e2024-09-29 19:49:53 -060015obj-$(CONFIG_$(XPL_)DM_ETH) += eth-uclass.o
Simon Glass4cafa212024-09-29 19:49:54 -060016obj-$(CONFIG_$(PHASE_)BOOTDEV_ETH) += eth_bootdev.o
Alex Marginean1a5b0982019-06-03 19:10:30 +030017obj-$(CONFIG_DM_MDIO) += mdio-uclass.o
Alex Margineanab8c2a52019-07-12 10:13:50 +030018obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o
Simon Glass86adc2e2024-09-29 19:49:53 -060019obj-$(CONFIG_$(XPL_)DM_ETH) += eth_common.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090020obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
Viacheslav Mitrofanov2e6fe2e2022-12-02 12:18:01 +030021obj-$(CONFIG_IPV6) += ndisc.o
Simon Glass86adc2e2024-09-29 19:49:53 -060022obj-$(CONFIG_$(XPL_)DM_ETH) += net.o
Viacheslav Mitrofanov6cce6c22022-12-02 12:17:59 +030023obj-$(CONFIG_IPV6) += net6.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090024obj-$(CONFIG_CMD_NFS) += nfs.o
25obj-$(CONFIG_CMD_PING) += ping.o
Viacheslav Mitrofanove03c8aa2022-12-02 12:18:08 +030026obj-$(CONFIG_CMD_PING6) += ping6.o
Sean Edmonde8c43832023-04-11 10:48:46 -070027obj-$(CONFIG_CMD_DHCP6) += dhcpv6.o
Ramon Friedac598c12019-07-18 21:43:30 +030028obj-$(CONFIG_CMD_PCAP) += pcap.o
Masahiro Yamada51dda802013-10-17 17:35:00 +090029obj-$(CONFIG_CMD_RARP) += rarp.o
30obj-$(CONFIG_CMD_SNTP) += sntp.o
Joe Hershbergerb0429462018-04-13 15:26:30 -050031obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o
Simon Glass4cafa212024-09-29 19:49:54 -060032obj-$(CONFIG_$(PHASE_)UDP_FUNCTION_FASTBOOT) += fastboot_udp.o
33obj-$(CONFIG_$(PHASE_)TCP_FUNCTION_FASTBOOT) += fastboot_tcp.o
Lothar Felten776fc102018-06-22 22:29:54 +020034obj-$(CONFIG_CMD_WOL) += wol.o
Philippe Reynes6ec70bc2020-09-18 14:13:00 +020035obj-$(CONFIG_PROT_UDP) += udp.o
Ying-Chun Liu (PaulLiu)41efed12022-11-08 14:17:28 +080036obj-$(CONFIG_PROT_TCP) += tcp.o
Ying-Chun Liu (PaulLiu)cc96a1d2022-11-08 14:17:29 +080037obj-$(CONFIG_CMD_WGET) += wget.o
Tom Rinie44b3852017-05-10 15:26:06 -040038
39# Disable this warning as it is triggered by:
40# sprintf(buf, index ? "foo%d" : "foo", index)
41# and this is intentional usage.
42CFLAGS_eth_common.o += -Wno-format-extra-args
Jerome Forissiere0f95512024-10-16 12:03:59 +020043
44endif