Tom Rini | 83d290c | 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 | f932863 | 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 | 6825a95 | 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 | |
Joe Hershberger | 5f967c0 | 2018-04-13 15:26:38 -0500 | [diff] [blame] | 8 | obj-$(CONFIG_NET) += arp.o |
Joe Hershberger | d7a45ea | 2018-04-13 15:26:30 -0500 | [diff] [blame] | 9 | obj-$(CONFIG_CMD_BOOTP) += bootp.o |
Masahiro Yamada | 9cc1180 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 10 | obj-$(CONFIG_CMD_CDP) += cdp.o |
| 11 | obj-$(CONFIG_CMD_DNS) += dns.o |
Claudiu Manoil | fc054d5 | 2021-01-25 14:23:53 +0200 | [diff] [blame] | 12 | obj-$(CONFIG_DM_DSA) += dsa-uclass.o |
Simon Glass | db9391e | 2016-01-17 14:52:00 -0700 | [diff] [blame] | 13 | ifdef CONFIG_DM_ETH |
Joe Hershberger | 5f967c0 | 2018-04-13 15:26:38 -0500 | [diff] [blame] | 14 | obj-$(CONFIG_NET) += eth-uclass.o |
Simon Glass | 4fd8d07 | 2022-04-24 23:31:15 -0600 | [diff] [blame] | 15 | obj-$(CONFIG_$(SPL_TPL_)BOOTDEV_ETH) += eth_bootdev.o |
Simon Glass | db9391e | 2016-01-17 14:52:00 -0700 | [diff] [blame] | 16 | else |
Joe Hershberger | 5f967c0 | 2018-04-13 15:26:38 -0500 | [diff] [blame] | 17 | obj-$(CONFIG_NET) += eth_legacy.o |
Simon Glass | db9391e | 2016-01-17 14:52:00 -0700 | [diff] [blame] | 18 | endif |
Alex Marginean | c3452b5 | 2019-06-03 19:10:30 +0300 | [diff] [blame] | 19 | obj-$(CONFIG_DM_MDIO) += mdio-uclass.o |
Alex Marginean | 8880edb | 2019-07-12 10:13:50 +0300 | [diff] [blame] | 20 | obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o |
Joe Hershberger | 5f967c0 | 2018-04-13 15:26:38 -0500 | [diff] [blame] | 21 | obj-$(CONFIG_NET) += eth_common.o |
Masahiro Yamada | 9cc1180 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 22 | obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o |
Joe Hershberger | 5f967c0 | 2018-04-13 15:26:38 -0500 | [diff] [blame] | 23 | obj-$(CONFIG_NET) += net.o |
Masahiro Yamada | 9cc1180 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_CMD_NFS) += nfs.o |
| 25 | obj-$(CONFIG_CMD_PING) += ping.o |
Ramon Fried | 3eaac63 | 2019-07-18 21:43:30 +0300 | [diff] [blame] | 26 | obj-$(CONFIG_CMD_PCAP) += pcap.o |
Masahiro Yamada | 9cc1180 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 27 | obj-$(CONFIG_CMD_RARP) += rarp.o |
| 28 | obj-$(CONFIG_CMD_SNTP) += sntp.o |
Joe Hershberger | d7a45ea | 2018-04-13 15:26:30 -0500 | [diff] [blame] | 29 | obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o |
Alex Kiernan | f73a7df | 2018-05-29 15:30:53 +0000 | [diff] [blame] | 30 | obj-$(CONFIG_UDP_FUNCTION_FASTBOOT) += fastboot.o |
Lothar Felten | d8970da | 2018-06-22 22:29:54 +0200 | [diff] [blame] | 31 | obj-$(CONFIG_CMD_WOL) += wol.o |
Philippe Reynes | b43ea1b | 2020-09-18 14:13:00 +0200 | [diff] [blame] | 32 | obj-$(CONFIG_PROT_UDP) += udp.o |
Tom Rini | 9444387 | 2017-05-10 15:26:06 -0400 | [diff] [blame] | 33 | |
| 34 | # Disable this warning as it is triggered by: |
| 35 | # sprintf(buf, index ? "foo%d" : "foo", index) |
| 36 | # and this is intentional usage. |
| 37 | CFLAGS_eth_common.o += -Wno-format-extra-args |