summaryrefslogtreecommitdiffhomepage
path: root/networking/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'networking/Makefile.in')
-rw-r--r--networking/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/networking/Makefile.in b/networking/Makefile.in
index efad05053..80cfd1733 100644
--- a/networking/Makefile.in
+++ b/networking/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/networking
-objdir=$(top_builddir)/networking
+srcdir:=$(top_srcdir)/networking
+objdir:=$(top_builddir)/networking
NETWORKING-$(CONFIG_ARPING) += arping.o
NETWORKING-$(CONFIG_DNSD) += dnsd.o
@@ -57,3 +57,7 @@ LIBRARY_DEFINE-a+= -I$(top_srcdir)/networking
networking_OBJ:= $(patsubst %,$(objdir)/%,$(NETWORKING-y))
+$(networking_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/networking.a: $(networking_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/networking.a
+