aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-01 22:54:48 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-01 22:54:48 +0000
commit3e42de836e4e08c6226383f84de0f734f96c8697 (patch)
tree233c051da862595b6e473e832051708e2d9803cb /findutils
parentb7c6f4ee19e3b2a465d2ef8c1ec3e51e6572e7ff (diff)
downloadbusybox-w32-3e42de836e4e08c6226383f84de0f734f96c8697.tar.gz
busybox-w32-3e42de836e4e08c6226383f84de0f734f96c8697.tar.bz2
busybox-w32-3e42de836e4e08c6226383f84de0f734f96c8697.zip
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself git-svn-id: svn://busybox.net/trunk/busybox@14407 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils')
-rw-r--r--findutils/Makefile.in15
1 files changed, 2 insertions, 13 deletions
diff --git a/findutils/Makefile.in b/findutils/Makefile.in
index 25a2d38d3..d268f987d 100644
--- a/findutils/Makefile.in
+++ b/findutils/Makefile.in
@@ -4,28 +4,17 @@
4# 4#
5# Licensed under the GPL v2, see the file LICENSE in this tarball. 5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6 6
7FINDUTILS_AR:=findutils.a
8ifndef $(FINDUTILS_DIR)
9FINDUTILS_DIR:=$(top_builddir)/findutils/
10endif
11srcdir=$(top_srcdir)/findutils 7srcdir=$(top_srcdir)/findutils
8objdir=$(top_builddir)/findutils
12 9
13FINDUTILS-y:=
14FINDUTILS-$(CONFIG_FIND) += find.o 10FINDUTILS-$(CONFIG_FIND) += find.o
15FINDUTILS-$(CONFIG_GREP) += grep.o 11FINDUTILS-$(CONFIG_GREP) += grep.o
16FINDUTILS-$(CONFIG_XARGS) += xargs.o 12FINDUTILS-$(CONFIG_XARGS) += xargs.o
17 13
18ifneq ($(strip $(FINDUTILS-y)),)
19libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR)
20endif
21
22FINDUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(FINDUTILS-y)) 14FINDUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(FINDUTILS-y))
23FINDUTILS_SRC-a:=$(wildcard $(srcdir)/*.c) 15FINDUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
24APPLET_SRC-y+=$(FINDUTILS_SRC-y) 16APPLET_SRC-y+=$(FINDUTILS_SRC-y)
25APPLET_SRC-a+=$(FINDUTILS_SRC-a) 17APPLET_SRC-a+=$(FINDUTILS_SRC-a)
26 18
27$(FINDUTILS_DIR)$(FINDUTILS_AR): $(patsubst %,$(FINDUTILS_DIR)%, $(FINDUTILS-y)) 19findutils_OBJ:= $(patsubst %,$(objdir)/%,$(FINDUTILS-y))
28 $(do_ar)
29 20
30$(FINDUTILS_DIR)%.o: $(srcdir)/%.c
31 $(compile.c)