]> git.sur5r.net Git - u-boot/blobdiff - net/Makefile
net: get mac address from environment and use eth util funcs
[u-boot] / net / Makefile
index 0eee330cfe3f01cdb89031bdf22f01d646c7cb03..d3418742502e463c6ee96e8d342a3d127328b00b 100644 (file)
@@ -33,7 +33,7 @@ COBJS-y += bootp.o
 COBJS-y += rarp.o
 COBJS-y += eth.o
 COBJS-y += nfs.o
-COBJS-y += sntp.o
+COBJS-$(CONFIG_CMD_SNTP) += sntp.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)