[U-Boot] [PATCH] - add dns
Robin Getz
rgetz at blackfin.uclinux.org
Sun Jul 19 18:17:56 CEST 2009
On Sun 19 Jul 2009 03:48, Wolfgang Denk pondered:
> Dear Robin Getz,
> In message <200907172120.50413.rgetz at blackfin.uclinux.org> you wrote:
> > On Fri 17 Jul 2009 16:55, Wolfgang Denk pondered:
> > > Please keep list sorted.
> >
> > sorted how? What we have today is:
> >
> > COBJS-y += net.o
> > COBJS-y += tftp.o
> > COBJS-y += bootp.o
> > COBJS-y += rarp.o
> > COBJS-y += eth.o
> > COBJS-y += nfs.o
> > COBJS-$(CONFIG_CMD_SNTP) += sntp.o
> >
> > It is not sorted alphabetically... ???
>
> I see. Sorry. Well, please use the opportunity to sort that list,
> then. Alphabetically.
>
Ok -- what I have is this then. I'll wrap it up tomorrow and send to Ben,
assuming he doesn't have anything else...
diff --git a/net/Makefile b/net/Makefile
index d341874..835a04a 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -27,13 +27,14 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libnet.a
-COBJS-y += net.o
-COBJS-y += tftp.o
COBJS-y += bootp.o
-COBJS-y += rarp.o
+COBJS-$(CONFIG_CMD_DNS) += dns.o
COBJS-y += eth.o
+COBJS-y += net.o
COBJS-y += nfs.o
+COBJS-y += rarp.o
COBJS-$(CONFIG_CMD_SNTP) += sntp.o
+COBJS-y += tftp.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
More information about the U-Boot
mailing list