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-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.gz
- 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 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-CONSOLETOOLS_AR:=console-tools.a
-ifndef $(CONSOLETOOLS_DIR)
-CONSOLETOOLS_DIR:=$(top_builddir)/console-tools/
-endif
srcdir=$(top_srcdir)/console-tools
+objdir=$(top_builddir)/console-tools
-CONSOLETOOLS-y:=
CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o
-CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o
+CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o
CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o
-CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o
+CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o
CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o
-CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o
-CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o
-CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o
-CONSOLETOOLS-$(CONFIG_RESET) += reset.o
+CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o
+CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o
+CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o
+CONSOLETOOLS-$(CONFIG_RESET) += reset.o
CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o
-ifneq ($(strip $(CONSOLETOOLS-y)),)
-libraries-y+=$(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR)
-endif
+
CONSOLETOOLS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(CONSOLETOOLS-y))
CONSOLETOOLS_SRC-a:=$(wildcard $(srcdir)/*.c)
APPLET_SRC-y+=$(CONSOLETOOLS_SRC-y)
APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a)
-$(CONSOLETOOLS_DIR)$(CONSOLETOOLS_AR): $(patsubst %,$(CONSOLETOOLS_DIR)%, $(CONSOLETOOLS-y))
- $(do_ar)
+console-tools_OBJ:= $(patsubst %,$(objdir)/%,$(CONSOLETOOLS-y))
-$(CONSOLETOOLS_DIR)%.o: $(srcdir)/%.c
- $(compile.c)