summaryrefslogtreecommitdiff
path: root/net/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-05 21:04:47 -0500
committerBen Warren <biggerbadderben@gmail.com>2009-02-09 22:53:54 -0800
commit638ed3e296e70fab286d157b7adedaaa4a09a474 (patch)
treed6010c988920942fc600fa8da72c1541b401ac19 /net/Makefile
parent9e5be8214ba751436e57c3be044bf6dccb9a6687 (diff)
downloadu-boot-imx-638ed3e296e70fab286d157b7adedaaa4a09a474.zip
u-boot-imx-638ed3e296e70fab286d157b7adedaaa4a09a474.tar.gz
u-boot-imx-638ed3e296e70fab286d157b7adedaaa4a09a474.tar.bz2
net/sntp.c: move ifdef into Makefile COBJS-$(...)
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 0eee330..d341874 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -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)