Don't build directory libraries unless we're building an applet that needs it.
Cherry-picked from Devin Bayer's big MacOS X patch.
This commit is contained in:
@@ -16,7 +16,9 @@ SYSKLOGD-$(CONFIG_LOGGER) += logger.o
|
||||
SYSKLOGD-$(CONFIG_LOGREAD) += logread.o
|
||||
SYSKLOGD-$(CONFIG_SYSLOGD) += syslogd.o
|
||||
|
||||
ifneq ($(strip $(SYSKLOGD-y)),)
|
||||
libraries-y+=$(SYSKLOGD_DIR)$(SYSKLOGD_AR)
|
||||
endif
|
||||
|
||||
SYSKLOGD_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SYSKLOGD-y))
|
||||
SYSKLOGD_SRC-a:=$(wildcard $(srcdir)/*.c)
|
||||
|
Reference in New Issue
Block a user