aboutsummaryrefslogtreecommitdiff
path: root/console-tools/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/Makefile.in')
-rw-r--r--console-tools/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/console-tools/Makefile.in b/console-tools/Makefile.in
index e10bc4f78..7994e0f08 100644
--- a/console-tools/Makefile.in
+++ b/console-tools/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/console-tools
-objdir=$(top_builddir)/console-tools
+srcdir:=$(top_srcdir)/console-tools
+objdir:=$(top_builddir)/console-tools
CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o
CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o
@@ -26,3 +26,7 @@ APPLET_SRC-a+=$(CONSOLETOOLS_SRC-a)
console-tools_OBJ:= $(patsubst %,$(objdir)/%,$(CONSOLETOOLS-y))
+$(console-tools_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/console-tools.a: $(console-tools_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/console-tools.a
+