aboutsummaryrefslogtreecommitdiff
path: root/console-tools
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 /console-tools
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 'console-tools')
-rw-r--r--console-tools/Makefile.in27
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
7CONSOLETOOLS_AR:=console-tools.a
8ifndef $(CONSOLETOOLS_DIR)
9CONSOLETOOLS_DIR:=$(top_builddir)/console-tools/
10endif
11srcdir=$(top_srcdir)/console-tools 7srcdir=$(top_srcdir)/console-tools
8objdir=$(top_builddir)/console-tools
12 9
13CONSOLETOOLS-y:=
14CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o 10CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o
15CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o 11CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o
16CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o 12CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o
17CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o 13CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o
18CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o 14CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o
19CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o 15CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o
20CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o 16CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o
21CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o 17CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o
22CONSOLETOOLS-$(CONFIG_RESET) += reset.o 18CONSOLETOOLS-$(CONFIG_RESET) += reset.o
23CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o 19CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o
24 20
25ifneq ($(strip $(CONSOLETOOLS-y)),) 21
26libraries-y+=$(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR)
27endif
28CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y)) 22CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y))
29CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c) 23CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c)
30APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y) 24APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y)
31APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a) 25APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a)
32 26
33$(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR): $(patsubst %,$(CONSOLETOOLS_DIR)%, $(CONSOLETOOLS-y)) 27console-tools_OBJ:= $(patsubst %,$(objdir)/%,$(CONSOLETOOLS-y))
34 $(do_ar)
35 28
36$(CONSOLETOOLS_DIR)%.o: $(srcdir)/%.c
37 $(compile.c)