Makefile 860 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # (C) Copyright 2000-2006
  3. # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  4. #
  5. # SPDX-License-Identifier: GPL-2.0+
  6. #
  7. #ccflags-y += -DDEBUG
  8. obj-y += checksum.o
  9. obj-$(CONFIG_CMD_NET) += arp.o
  10. obj-$(CONFIG_CMD_NET) += bootp.o
  11. obj-$(CONFIG_CMD_CDP) += cdp.o
  12. obj-$(CONFIG_CMD_DNS) += dns.o
  13. ifdef CONFIG_DM_ETH
  14. obj-$(CONFIG_CMD_NET) += eth-uclass.o
  15. else
  16. obj-$(CONFIG_CMD_NET) += eth_legacy.o
  17. endif
  18. obj-$(CONFIG_CMD_NET) += eth_common.o
  19. obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
  20. obj-$(CONFIG_CMD_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_NET) += tftp.o
  26. # Disable this warning as it is triggered by:
  27. # sprintf(buf, index ? "foo%d" : "foo", index)
  28. # and this is intentional usage.
  29. CFLAGS_eth_common.o += -Wno-format-extra-args