diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-01 22:54:48 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-01 22:54:48 +0000 |
commit | 5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf (patch) | |
tree | 233c051da862595b6e473e832051708e2d9803cb /init | |
parent | 12c2429a4242a157217c5bc9673a531fa1e1de61 (diff) | |
download | busybox-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.in | 15 |
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 | ||
7 | INIT_AR:=init.a | ||
8 | ifndef $(INIT_DIR) | ||
9 | INIT_DIR:=$(top_builddir)/init/ | ||
10 | endif | ||
11 | srcdir=$(top_srcdir)/init | 7 | srcdir=$(top_srcdir)/init |
8 | objdir=$(top_builddir)/init | ||
12 | 9 | ||
13 | INIT-y:= | ||
14 | INIT-$(CONFIG_HALT) += halt.o | 10 | INIT-$(CONFIG_HALT) += halt.o |
15 | INIT-$(CONFIG_INIT) += init.o | 11 | INIT-$(CONFIG_INIT) += init.o |
16 | INIT-$(CONFIG_MESG) += mesg.o | 12 | INIT-$(CONFIG_MESG) += mesg.o |
@@ -27,17 +23,10 @@ endif | |||
27 | 23 | ||
28 | INIT-$(CONFIG_INIT_SHARED) += init_shared.o | 24 | INIT-$(CONFIG_INIT_SHARED) += init_shared.o |
29 | 25 | ||
30 | ifneq ($(strip $(INIT-y)),) | ||
31 | libraries-y+=$(INIT_DIR)$(INIT_AR) | ||
32 | endif | ||
33 | |||
34 | INIT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(INIT-y)) | 26 | INIT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(INIT-y)) |
35 | INIT_SRC-a:=$(wildcard $(srcdir)/*.c) | 27 | INIT_SRC-a:=$(wildcard $(srcdir)/*.c) |
36 | APPLET_SRC-y+=$(INIT_SRC-y) | 28 | APPLET_SRC-y+=$(INIT_SRC-y) |
37 | APPLET_SRC-a+=$(INIT_SRC-a) | 29 | APPLET_SRC-a+=$(INIT_SRC-a) |
38 | 30 | ||
39 | $(INIT_DIR)$(INIT_AR): $(patsubst %,$(INIT_DIR)%, $(INIT-y)) | 31 | init_OBJ:= $(patsubst %,$(objdir)/%,$(INIT-y)) |
40 | $(do_ar) | ||
41 | 32 | ||
42 | $(INIT_DIR)%.o: $(srcdir)/%.c | ||
43 | $(compile.c) | ||