Notes on portability, and on when #include <linux/blah> is appropriate.
[oweals/busybox.git] / findutils / Makefile.in
index e43260da478736a4eb13c6eb27846bd0e8ee3185..25a2d38d35660076236d64959a98397703a0f350 100644 (file)
@@ -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)