1# SPDX-License-Identifier: GPL-2.0+ 2# 3# (C) Copyright 2000-2006 4# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5 6#ccflags-y += -DDEBUG 7 8obj-y += checksum.o 9obj-$(CONFIG_NET) += arp.o 10obj-$(CONFIG_CMD_BOOTP) += bootp.o 11obj-$(CONFIG_CMD_CDP) += cdp.o 12obj-$(CONFIG_CMD_DNS) += dns.o 13ifdef CONFIG_DM_ETH 14obj-$(CONFIG_NET) += eth-uclass.o 15else 16obj-$(CONFIG_NET) += eth_legacy.o 17endif 18obj-$(CONFIG_NET) += eth_common.o 19obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o 20obj-$(CONFIG_NET) += net.o 21obj-$(CONFIG_CMD_NFS) += nfs.o 22obj-$(CONFIG_CMD_PING) += ping.o 23obj-$(CONFIG_CMD_RARP) += rarp.o 24obj-$(CONFIG_CMD_SNTP) += sntp.o 25obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o 26 27# Disable this warning as it is triggered by: 28# sprintf(buf, index ? "foo%d" : "foo", index) 29# and this is intentional usage. 30CFLAGS_eth_common.o += -Wno-format-extra-args 31