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-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.gz |
- 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 @@ # # Licensed under the GPL v2, see the file LICENSE in this tarball. -INIT_AR:=init.a -ifndef $(INIT_DIR) -INIT_DIR:=$(top_builddir)/init/ -endif srcdir=$(top_srcdir)/init +objdir=$(top_builddir)/init -INIT-y:= INIT-$(CONFIG_HALT) += halt.o INIT-$(CONFIG_INIT) += init.o INIT-$(CONFIG_MESG) += mesg.o @@ -27,17 +23,10 @@ endif INIT-$(CONFIG_INIT_SHARED) += init_shared.o -ifneq ($(strip $(INIT-y)),) -libraries-y+=$(INIT_DIR)$(INIT_AR) -endif - INIT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(INIT-y)) INIT_SRC-a:=$(wildcard $(srcdir)/*.c) APPLET_SRC-y+=$(INIT_SRC-y) APPLET_SRC-a+=$(INIT_SRC-a) -$(INIT_DIR)$(INIT_AR): $(patsubst %,$(INIT_DIR)%, $(INIT-y)) - $(do_ar) +init_OBJ:= $(patsubst %,$(objdir)/%,$(INIT-y)) -$(INIT_DIR)%.o: $(srcdir)/%.c - $(compile.c) |