diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-01 22:54:48 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-01 22:54:48 +0000 |
commit | 3e42de836e4e08c6226383f84de0f734f96c8697 (patch) | |
tree | 233c051da862595b6e473e832051708e2d9803cb /console-tools | |
parent | b7c6f4ee19e3b2a465d2ef8c1ec3e51e6572e7ff (diff) | |
download | busybox-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 'console-tools')
-rw-r--r-- | console-tools/Makefile.in | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/console-tools/Makefile.in b/console-tools/Makefile.in index f14e338e1..e10bc4f78 100644 --- a/console-tools/Makefile.in +++ b/console-tools/Makefile.in | |||
@@ -4,34 +4,25 @@ | |||
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 | CONSOLETOOLS_AR:=console-tools.a | ||
8 | ifndef $(CONSOLETOOLS_DIR) | ||
9 | CONSOLETOOLS_DIR:=$(top_builddir)/console-tools/ | ||
10 | endif | ||
11 | srcdir=$(top_srcdir)/console-tools | 7 | srcdir=$(top_srcdir)/console-tools |
8 | objdir=$(top_builddir)/console-tools | ||
12 | 9 | ||
13 | CONSOLETOOLS-y:= | ||
14 | CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o | 10 | CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o |
15 | CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o | 11 | CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o |
16 | CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o | 12 | CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o |
17 | CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o | 13 | CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o |
18 | CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o | 14 | CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o |
19 | CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o | 15 | CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o |
20 | CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o | 16 | CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o |
21 | CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o | 17 | CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o |
22 | CONSOLETOOLS-$(CONFIG_RESET) += reset.o | 18 | CONSOLETOOLS-$(CONFIG_RESET) += reset.o |
23 | CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o | 19 | CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o |
24 | 20 | ||
25 | ifneq ($(strip $(CONSOLETOOLS-y)),) | 21 | |
26 | libraries-y+=$(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR) | ||
27 | endif | ||
28 | CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y)) | 22 | CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y)) |
29 | CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c) | 23 | CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c) |
30 | APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y) | 24 | APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y) |
31 | APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a) | 25 | APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a) |
32 | 26 | ||
33 | $(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR): $(patsubst %,$(CONSOLETOOLS_DIR)%, $(CONSOLETOOLS-y)) | 27 | console-tools_OBJ:= $(patsubst %,$(objdir)/%,$(CONSOLETOOLS-y)) |
34 | $(do_ar) | ||
35 | 28 | ||
36 | $(CONSOLETOOLS_DIR)%.o: $(srcdir)/%.c | ||
37 | $(compile.c) | ||