aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-21 19:11:35 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-21 19:11:35 +0000
commit71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb (patch)
tree69cc156c0b3d3a8972e03dfd73108c159bf0be11 /networking
parent42ad3e4912abbd0d5ef2f6fdb52cf41fc009c86b (diff)
downloadbusybox-w32-71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb.tar.gz
busybox-w32-71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb.tar.bz2
busybox-w32-71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb.zip
Don't build directory libraries unless we're building an applet that needs it.
Cherry-picked from Devin Bayer's big MacOS X patch. git-svn-id: svn://busybox.net/trunk/busybox@14165 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r--networking/Makefile.in2
-rw-r--r--networking/udhcp/Makefile.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/networking/Makefile.in b/networking/Makefile.in
index a07af7abd..650fc1a4a 100644
--- a/networking/Makefile.in
+++ b/networking/Makefile.in
@@ -44,7 +44,9 @@ NETWORKING-$(CONFIG_WGET) += wget.o
44NETWORKING-$(CONFIG_ZCIP) += zcip.o 44NETWORKING-$(CONFIG_ZCIP) += zcip.o
45 45
46NETWORKING-y:=$(sort $(NETWORKING-y)) 46NETWORKING-y:=$(sort $(NETWORKING-y))
47ifneq ($(strip $(NETWORKING-y)),)
47libraries-y+=$(NETWORKING_DIR)$(NETWORKING_AR) 48libraries-y+=$(NETWORKING_DIR)$(NETWORKING_AR)
49endif
48 50
49NETWORKING_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(NETWORKING-y)) 51NETWORKING_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(NETWORKING-y))
50NETWORKING_SRC-a:=$(wildcard $(srcdir)/*.c) 52NETWORKING_SRC-a:=$(wildcard $(srcdir)/*.c)
diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in
index c9e0f5b89..df32247c6 100644
--- a/networking/udhcp/Makefile.in
+++ b/networking/udhcp/Makefile.in
@@ -32,7 +32,9 @@ UDHCP-$(CONFIG_UDHCPD) += dhcpd.c arpping.c files.c leases.c \
32UDHCP-$(CONFIG_DUMPLEASES) += dumpleases.c 32UDHCP-$(CONFIG_DUMPLEASES) += dumpleases.c
33UDHCP_OBJS:=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y)) 33UDHCP_OBJS:=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y))
34 34
35ifneq ($(strip $(UDHCP-y)),)
35libraries-y+=$(UDHCP_DIR)$(UDHCP_AR) 36libraries-y+=$(UDHCP_DIR)$(UDHCP_AR)
37endif
36 38
37UDHCP-y:=$(patsubst %,$(srcdir)/%,$(UDHCP-y)) 39UDHCP-y:=$(patsubst %,$(srcdir)/%,$(UDHCP-y))
38UDHCP-a:=$(wildcard $(srcdir)/*.c) 40UDHCP-a:=$(wildcard $(srcdir)/*.c)