diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-21 19:11:35 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-21 19:11:35 +0000 |
commit | 71f9dbce23ed23b6e0c78eb500e1fa6fca7cb9cb (patch) | |
tree | 69cc156c0b3d3a8972e03dfd73108c159bf0be11 /networking | |
parent | 42ad3e4912abbd0d5ef2f6fdb52cf41fc009c86b (diff) | |
download | busybox-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.in | 2 | ||||
-rw-r--r-- | networking/udhcp/Makefile.in | 2 |
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 | |||
44 | NETWORKING-$(CONFIG_ZCIP) += zcip.o | 44 | NETWORKING-$(CONFIG_ZCIP) += zcip.o |
45 | 45 | ||
46 | NETWORKING-y:=$(sort $(NETWORKING-y)) | 46 | NETWORKING-y:=$(sort $(NETWORKING-y)) |
47 | ifneq ($(strip $(NETWORKING-y)),) | ||
47 | libraries-y+=$(NETWORKING_DIR)$(NETWORKING_AR) | 48 | libraries-y+=$(NETWORKING_DIR)$(NETWORKING_AR) |
49 | endif | ||
48 | 50 | ||
49 | NETWORKING_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(NETWORKING-y)) | 51 | NETWORKING_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(NETWORKING-y)) |
50 | NETWORKING_SRC-a:=$(wildcard $(srcdir)/*.c) | 52 | NETWORKING_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 \ | |||
32 | UDHCP-$(CONFIG_DUMPLEASES) += dumpleases.c | 32 | UDHCP-$(CONFIG_DUMPLEASES) += dumpleases.c |
33 | UDHCP_OBJS:=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y)) | 33 | UDHCP_OBJS:=$(patsubst %.c,$(UDHCP_DIR)%.o, $(UDHCP-y)) |
34 | 34 | ||
35 | ifneq ($(strip $(UDHCP-y)),) | ||
35 | libraries-y+=$(UDHCP_DIR)$(UDHCP_AR) | 36 | libraries-y+=$(UDHCP_DIR)$(UDHCP_AR) |
37 | endif | ||
36 | 38 | ||
37 | UDHCP-y:=$(patsubst %,$(srcdir)/%,$(UDHCP-y)) | 39 | UDHCP-y:=$(patsubst %,$(srcdir)/%,$(UDHCP-y)) |
38 | UDHCP-a:=$(wildcard $(srcdir)/*.c) | 40 | UDHCP-a:=$(wildcard $(srcdir)/*.c) |