summaryrefslogtreecommitdiff
path: root/coreutils/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-01 22:54:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-01 22:54:48 +0000
commit5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf (patch)
tree233c051da862595b6e473e832051708e2d9803cb /coreutils/Makefile.in
parent12c2429a4242a157217c5bc9673a531fa1e1de61 (diff)
downloadbusybox-w32-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.gz
busybox-w32-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.bz2
busybox-w32-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.zip
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself
Diffstat (limited to 'coreutils/Makefile.in')
-rw-r--r--coreutils/Makefile.in16
1 files changed, 3 insertions, 13 deletions
diff --git a/coreutils/Makefile.in b/coreutils/Makefile.in
index 2ab256c15..eee64a995 100644
--- a/coreutils/Makefile.in
+++ b/coreutils/Makefile.in
@@ -4,13 +4,9 @@
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
7COREUTILS_AR:=coreutils.a
8ifndef $(COREUTILS_DIR)
9COREUTILS_DIR:=$(top_builddir)/coreutils/
10endif
11srcdir=$(top_srcdir)/coreutils 7srcdir=$(top_srcdir)/coreutils
8objdir=$(top_builddir)/coreutils
12 9
13COREUTILS-y:=
14COREUTILS-$(CONFIG_BASENAME) += basename.o 10COREUTILS-$(CONFIG_BASENAME) += basename.o
15COREUTILS-$(CONFIG_CAL) += cal.o 11COREUTILS-$(CONFIG_CAL) += cal.o
16COREUTILS-$(CONFIG_CAT) += cat.o 12COREUTILS-$(CONFIG_CAT) += cat.o
@@ -82,18 +78,12 @@ COREUTILS-$(CONFIG_WHOAMI) += whoami.o
82COREUTILS-$(CONFIG_YES) += yes.o 78COREUTILS-$(CONFIG_YES) += yes.o
83 79
84COREUTILS-y:=$(sort $(COREUTILS-y)) 80COREUTILS-y:=$(sort $(COREUTILS-y))
85 81COREUTILS-m:=$(sort $(COREUTILS-m))
86ifneq ($(strip $(COREUTILS-y)),)
87libraries-y+=$(COREUTILS_DIR)$(COREUTILS_AR)
88endif
89 82
90COREUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(COREUTILS-y)) 83COREUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(COREUTILS-y))
91COREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c) 84COREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
92APPLET_SRC-y+=$(COREUTILS_SRC-y) 85APPLET_SRC-y+=$(COREUTILS_SRC-y)
93APPLET_SRC-a+=$(COREUTILS_SRC-a) 86APPLET_SRC-a+=$(COREUTILS_SRC-a)
94 87
95$(COREUTILS_DIR)$(COREUTILS_AR): $(patsubst %,$(COREUTILS_DIR)%, $(COREUTILS-y)) 88coreutils_OBJ:= $(patsubst %,$(objdir)/%,$(COREUTILS-y))
96 $(do_ar)
97 89
98$(COREUTILS_DIR)%.o: $(srcdir)/%.c
99 $(compile.c)