summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-09-24 09:05:30 -0600
committerGrant Likely <grant.likely@secretlab.ca>2007-11-15 11:05:18 -0700
commitf0037c56b0d12cd46215124667b9f83d60ef9391 (patch)
tree6b573be03318ecf4f0d0ed4f904941fe4f02f4a1 /net/Makefile
parent1b4aaffe4fb2a5e95d9111a5d94fd1f89215dce4 (diff)
downloadtalos-obmc-uboot-f0037c56b0d12cd46215124667b9f83d60ef9391.tar.gz
talos-obmc-uboot-f0037c56b0d12cd46215124667b9f83d60ef9391.zip
Build: split COBJS value into multiple lines
This change is in preparation for condtitionial compile support in the build system. By spliting them all into seperate lines now, subsequent patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will be less invasive and easier to review Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/net/Makefile b/net/Makefile
index d18460cab3..0eee330cfe 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -27,8 +27,15 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libnet.a
-COBJS = net.o tftp.o bootp.o rarp.o eth.o nfs.o sntp.o
-
+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-y += sntp.o
+
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
OpenPOWER on IntegriCloud