summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-07-02 08:36:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-02 09:39:57 +0200
commit566cac17c3b5cfd85eb5bb1764c6cd29347b390d (patch)
treee5102f0a5d825e48344ab096332cd0836a957f6c /net/Makefile
parentf2d31f6f6dc01d1b438a12230a536606bfdc43fa (diff)
downloadbarebox-566cac17c3b5cfd85eb5bb1764c6cd29347b390d.tar.gz
barebox-566cac17c3b5cfd85eb5bb1764c6cd29347b390d.tar.xz
net: Move library functions to net/lib.c
Some network related functions are also needed when networking is disabled. Move these to a separate file which is always compiled. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 58bf143676..8d564e7299 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,3 +1,4 @@
+obj-y += lib.o
obj-$(CONFIG_NET) += eth.o
obj-$(CONFIG_NET) += net.o
obj-$(CONFIG_NET_NFS) += nfs.o