summaryrefslogtreecommitdiff
path: root/init
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 /init
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 'init')
-rw-r--r--init/Makefile.in15
1 files changed, 2 insertions, 13 deletions
diff --git a/init/Makefile.in b/init/Makefile.in
index a48ead446..a07c2189b 100644
--- a/init/Makefile.in
+++ b/init/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
7INIT_AR:=init.a
8ifndef $(INIT_DIR)
9INIT_DIR:=$(top_builddir)/init/
10endif
11srcdir=$(top_srcdir)/init 7srcdir=$(top_srcdir)/init
8objdir=$(top_builddir)/init
12 9
13INIT-y:=
14INIT-$(CONFIG_HALT) += halt.o 10INIT-$(CONFIG_HALT) += halt.o
15INIT-$(CONFIG_INIT) += init.o 11INIT-$(CONFIG_INIT) += init.o
16INIT-$(CONFIG_MESG) += mesg.o 12INIT-$(CONFIG_MESG) += mesg.o
@@ -27,17 +23,10 @@ endif
27 23
28INIT-$(CONFIG_INIT_SHARED) += init_shared.o 24INIT-$(CONFIG_INIT_SHARED) += init_shared.o
29 25
30ifneq ($(strip $(INIT-y)),)
31libraries-y+=$(INIT_DIR)$(INIT_AR)
32endif
33
34INIT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(INIT-y)) 26INIT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(INIT-y))
35INIT_SRC-a:=$(wildcard $(srcdir)/*.c) 27INIT_SRC-a:=$(wildcard $(srcdir)/*.c)
36APPLET_SRC-y+=$(INIT_SRC-y) 28APPLET_SRC-y+=$(INIT_SRC-y)
37APPLET_SRC-a+=$(INIT_SRC-a) 29APPLET_SRC-a+=$(INIT_SRC-a)
38 30
39$(INIT_DIR)$(INIT_AR): $(patsubst %,$(INIT_DIR)%, $(INIT-y)) 31init_OBJ:= $(patsubst %,$(objdir)/%,$(INIT-y))
40 $(do_ar)
41 32
42$(INIT_DIR)%.o: $(srcdir)/%.c
43 $(compile.c)