Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | ed9a2d3 | 2002-02-24 23:28:19 +0000 | [diff] [blame] | 2 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 3 | # (C) Copyright 2000-2006 |
wdenk | ed9a2d3 | 2002-02-24 23:28:19 +0000 | [diff] [blame] | 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
wdenk | ed9a2d3 | 2002-02-24 23:28:19 +0000 | [diff] [blame] | 5 | |
Masahiro Yamada | 0d68fb1 | 2014-02-04 17:24:28 +0900 | [diff] [blame] | 6 | #ccflags-y += -DDEBUG |
wdenk | ed9a2d3 | 2002-02-24 23:28:19 +0000 | [diff] [blame] | 7 | |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame^] | 8 | ifeq ($(CONFIG_NET),y) |
| 9 | |
Joe Hershberger | 33c791b | 2018-04-13 15:26:38 -0500 | [diff] [blame] | 10 | obj-$(CONFIG_NET) += arp.o |
Joe Hershberger | b042946 | 2018-04-13 15:26:30 -0500 | [diff] [blame] | 11 | obj-$(CONFIG_CMD_BOOTP) += bootp.o |
Masahiro Yamada | 51dda80 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 12 | obj-$(CONFIG_CMD_CDP) += cdp.o |
| 13 | obj-$(CONFIG_CMD_DNS) += dns.o |
Claudiu Manoil | c0566c2 | 2021-01-25 14:23:53 +0200 | [diff] [blame] | 14 | obj-$(CONFIG_DM_DSA) += dsa-uclass.o |
Simon Glass | 86adc2e | 2024-09-29 19:49:53 -0600 | [diff] [blame] | 15 | obj-$(CONFIG_$(XPL_)DM_ETH) += eth-uclass.o |
Simon Glass | 4cafa21 | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 16 | obj-$(CONFIG_$(PHASE_)BOOTDEV_ETH) += eth_bootdev.o |
Alex Marginean | 1a5b098 | 2019-06-03 19:10:30 +0300 | [diff] [blame] | 17 | obj-$(CONFIG_DM_MDIO) += mdio-uclass.o |
Alex Marginean | ab8c2a5 | 2019-07-12 10:13:50 +0300 | [diff] [blame] | 18 | obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o |
Simon Glass | 86adc2e | 2024-09-29 19:49:53 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_$(XPL_)DM_ETH) += eth_common.o |
Masahiro Yamada | 51dda80 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o |
Viacheslav Mitrofanov | 2e6fe2e | 2022-12-02 12:18:01 +0300 | [diff] [blame] | 21 | obj-$(CONFIG_IPV6) += ndisc.o |
Simon Glass | 86adc2e | 2024-09-29 19:49:53 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_$(XPL_)DM_ETH) += net.o |
Viacheslav Mitrofanov | 6cce6c2 | 2022-12-02 12:17:59 +0300 | [diff] [blame] | 23 | obj-$(CONFIG_IPV6) += net6.o |
Masahiro Yamada | 51dda80 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_CMD_NFS) += nfs.o |
| 25 | obj-$(CONFIG_CMD_PING) += ping.o |
Viacheslav Mitrofanov | e03c8aa | 2022-12-02 12:18:08 +0300 | [diff] [blame] | 26 | obj-$(CONFIG_CMD_PING6) += ping6.o |
Sean Edmond | e8c4383 | 2023-04-11 10:48:46 -0700 | [diff] [blame] | 27 | obj-$(CONFIG_CMD_DHCP6) += dhcpv6.o |
Ramon Fried | ac598c1 | 2019-07-18 21:43:30 +0300 | [diff] [blame] | 28 | obj-$(CONFIG_CMD_PCAP) += pcap.o |
Masahiro Yamada | 51dda80 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 29 | obj-$(CONFIG_CMD_RARP) += rarp.o |
| 30 | obj-$(CONFIG_CMD_SNTP) += sntp.o |
Joe Hershberger | b042946 | 2018-04-13 15:26:30 -0500 | [diff] [blame] | 31 | obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o |
Simon Glass | 4cafa21 | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 32 | obj-$(CONFIG_$(PHASE_)UDP_FUNCTION_FASTBOOT) += fastboot_udp.o |
| 33 | obj-$(CONFIG_$(PHASE_)TCP_FUNCTION_FASTBOOT) += fastboot_tcp.o |
Lothar Felten | 776fc10 | 2018-06-22 22:29:54 +0200 | [diff] [blame] | 34 | obj-$(CONFIG_CMD_WOL) += wol.o |
Philippe Reynes | 6ec70bc | 2020-09-18 14:13:00 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_PROT_UDP) += udp.o |
Ying-Chun Liu (PaulLiu) | 41efed1 | 2022-11-08 14:17:28 +0800 | [diff] [blame] | 36 | obj-$(CONFIG_PROT_TCP) += tcp.o |
Ying-Chun Liu (PaulLiu) | cc96a1d | 2022-11-08 14:17:29 +0800 | [diff] [blame] | 37 | obj-$(CONFIG_CMD_WGET) += wget.o |
Tom Rini | e44b385 | 2017-05-10 15:26:06 -0400 | [diff] [blame] | 38 | |
| 39 | # Disable this warning as it is triggered by: |
| 40 | # sprintf(buf, index ? "foo%d" : "foo", index) |
| 41 | # and this is intentional usage. |
| 42 | CFLAGS_eth_common.o += -Wno-format-extra-args |
Jerome Forissier | e0f9551 | 2024-10-16 12:03:59 +0200 | [diff] [blame^] | 43 | |
| 44 | endif |