2002-04-12 12:05:57 +00:00
|
|
|
# Makefile for busybox
|
|
|
|
#
|
2005-09-24 06:01:57 +00:00
|
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
2002-04-12 12:05:57 +00:00
|
|
|
#
|
2005-09-24 06:01:57 +00:00
|
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
2002-04-12 12:05:57 +00:00
|
|
|
|
2004-10-08 07:46:08 +00:00
|
|
|
srcdir=$(top_srcdir)/console-tools
|
2006-03-01 22:54:48 +00:00
|
|
|
objdir=$(top_builddir)/console-tools
|
2002-04-12 12:05:57 +00:00
|
|
|
|
2006-01-15 14:04:57 +00:00
|
|
|
CONSOLETOOLS-$(CONFIG_CHVT) += chvt.o
|
2006-03-01 22:54:48 +00:00
|
|
|
CONSOLETOOLS-$(CONFIG_CLEAR) += clear.o
|
2006-01-15 14:04:57 +00:00
|
|
|
CONSOLETOOLS-$(CONFIG_DEALLOCVT) += deallocvt.o
|
2006-03-01 22:54:48 +00:00
|
|
|
CONSOLETOOLS-$(CONFIG_DUMPKMAP) += dumpkmap.o
|
2006-01-15 14:04:57 +00:00
|
|
|
CONSOLETOOLS-$(CONFIG_SETCONSOLE) += setconsole.o
|
2006-03-01 22:54:48 +00:00
|
|
|
CONSOLETOOLS-$(CONFIG_LOADFONT) += loadfont.o
|
|
|
|
CONSOLETOOLS-$(CONFIG_LOADKMAP) += loadkmap.o
|
|
|
|
CONSOLETOOLS-$(CONFIG_OPENVT) += openvt.o
|
|
|
|
CONSOLETOOLS-$(CONFIG_RESET) += reset.o
|
2006-01-15 14:04:57 +00:00
|
|
|
CONSOLETOOLS-$(CONFIG_SETKEYCODES) += setkeycodes.o
|
2002-04-12 12:05:57 +00:00
|
|
|
|
2006-03-01 22:54:48 +00:00
|
|
|
|
2006-01-15 14:04:57 +00:00
|
|
|
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)
|
2002-04-12 12:05:57 +00:00
|
|
|
|
2006-03-01 22:54:48 +00:00
|
|
|
console-tools_OBJ:= $(patsubst %,$(objdir)/%,$(CONSOLETOOLS-y))
|
2002-04-12 12:05:57 +00:00
|
|
|
|