X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2FMakefile;h=ae54eee5afe047ec6a9cd7cbe2cf448819d286ee;hb=dd31be21bf8117df054f9ad072784bfc4df9e76f;hp=f03d6083268f2b085b9277a72f46685d98c30701;hpb=161b1fe745394f34c4aa506edc964089785919f6;p=u-boot diff --git a/net/Makefile b/net/Makefile index f03d608326..ae54eee5af 100644 --- a/net/Makefile +++ b/net/Makefile @@ -25,3 +25,8 @@ obj-$(CONFIG_CMD_PING) += ping.o obj-$(CONFIG_CMD_RARP) += rarp.o obj-$(CONFIG_CMD_SNTP) += sntp.o obj-$(CONFIG_CMD_NET) += tftp.o + +# Disable this warning as it is triggered by: +# sprintf(buf, index ? "foo%d" : "foo", index) +# and this is intentional usage. +CFLAGS_eth_common.o += -Wno-format-extra-args