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:
@@ -15,7 +15,9 @@ FINDUTILS-$(CONFIG_FIND) += find.o
|
||||
FINDUTILS-$(CONFIG_GREP) += grep.o
|
||||
FINDUTILS-$(CONFIG_XARGS) += xargs.o
|
||||
|
||||
ifneq ($(strip $(FINDUTILS-y)),)
|
||||
libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR)
|
||||
endif
|
||||
|
||||
FINDUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(FINDUTILS-y))
|
||||
FINDUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
||||
|
Reference in New Issue
Block a user