wdenk | ed9a2d3 | 2002-02-24 23:28:19 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2000-2006 |
wdenk | ed9a2d3 | 2002-02-24 23:28:19 +0000 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | ed9a2d3 | 2002-02-24 23:28:19 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Masahiro Yamada | 0d68fb1 | 2014-02-04 17:24:28 +0900 | [diff] [blame] | 8 | #ccflags-y += -DDEBUG |
wdenk | ed9a2d3 | 2002-02-24 23:28:19 +0000 | [diff] [blame] | 9 | |
Simon Glass | 0015391 | 2015-01-19 22:16:07 -0700 | [diff] [blame] | 10 | obj-y += checksum.o |
Masahiro Yamada | 51dda80 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_CMD_NET) += arp.o |
| 12 | obj-$(CONFIG_CMD_NET) += bootp.o |
| 13 | obj-$(CONFIG_CMD_CDP) += cdp.o |
| 14 | obj-$(CONFIG_CMD_DNS) += dns.o |
Simon Glass | c6011d2 | 2016-01-17 14:52:00 -0700 | [diff] [blame] | 15 | ifdef CONFIG_DM_ETH |
| 16 | obj-$(CONFIG_CMD_NET) += eth-uclass.o |
| 17 | else |
Simon Glass | 8602d5c | 2016-01-17 14:52:01 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_CMD_NET) += eth_legacy.o |
Simon Glass | c6011d2 | 2016-01-17 14:52:00 -0700 | [diff] [blame] | 19 | endif |
Simon Glass | 0a9bde1 | 2016-01-17 14:51:57 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_CMD_NET) += eth_common.o |
Masahiro Yamada | 51dda80 | 2013-10-17 17:35:00 +0900 | [diff] [blame] | 21 | obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o |
| 22 | obj-$(CONFIG_CMD_NET) += net.o |
| 23 | obj-$(CONFIG_CMD_NFS) += nfs.o |
| 24 | obj-$(CONFIG_CMD_PING) += ping.o |
| 25 | obj-$(CONFIG_CMD_RARP) += rarp.o |
| 26 | obj-$(CONFIG_CMD_SNTP) += sntp.o |
| 27 | obj-$(CONFIG_CMD_NET) += tftp.o |
Tom Rini | e44b385 | 2017-05-10 15:26:06 -0400 | [diff] [blame] | 28 | |
| 29 | # Disable this warning as it is triggered by: |
| 30 | # sprintf(buf, index ? "foo%d" : "foo", index) |
| 31 | # and this is intentional usage. |
| 32 | CFLAGS_eth_common.o += -Wno-format-extra-args |