aboutsummaryrefslogtreecommitdiff
path: root/init
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 /init
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 '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)