1 # SPDX-License-Identifier: GPL-2.0+ 2 # 3 # (C) Copyright 2000-2006 4 # Wolfgang Denk, DENX Software Engineering, wd (at] denx.de. 5 6 #ccflags-y += -DDEBUG 7 8 obj-y += checksum.o 9 obj-$(CONFIG_NET) += arp.o 10 obj-$(CONFIG_CMD_BOOTP) += bootp.o 11 obj-$(CONFIG_CMD_CDP) += cdp.o 12 obj-$(CONFIG_CMD_DNS) += dns.o 13 ifdef CONFIG_DM_ETH 14 obj-$(CONFIG_NET) += eth-uclass.o 15 else 16 obj-$(CONFIG_NET) += eth_legacy.o 17 endif 18 obj-$(CONFIG_NET) += eth_common.o 19 obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o 20 obj-$(CONFIG_NET) += net.o 21 obj-$(CONFIG_CMD_NFS) += nfs.o 22 obj-$(CONFIG_CMD_PING) += ping.o 23 obj-$(CONFIG_CMD_RARP) += rarp.o 24 obj-$(CONFIG_CMD_SNTP) += sntp.o 25 obj-$(CONFIG_CMD_TFTPBOOT) += tftp.o 26 obj-$(CONFIG_UDP_FUNCTION_FASTBOOT) += fastboot.o 27 obj-$(CONFIG_CMD_WOL) += wol.o 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 33