aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
commitbdfd0d78bc44e73d693510e70087857785b3b521 (patch)
tree153a573095afac8d8d0ea857759ecabd77fb28b7 /console-tools
parent9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff)
downloadbusybox-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz
busybox-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/Makefile43
-rw-r--r--console-tools/clear.c5
-rw-r--r--console-tools/config.in18
-rw-r--r--console-tools/reset.c7
4 files changed, 66 insertions, 7 deletions
diff --git a/console-tools/Makefile b/console-tools/Makefile
new file mode 100644
index 000000000..a67e4bb7b
--- /dev/null
+++ b/console-tools/Makefile
@@ -0,0 +1,43 @@
+# Makefile for busybox
+#
+# Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+TOPDIR :=..
+L_TARGET := console-tools.a
+
+obj-y :=
+obj-n :=
+obj- :=
+
+obj-$(CONFIG_CHVT) += chvt.o
+obj-$(CONFIG_CLEAR) += clear.o
+obj-$(CONFIG_DEALLOCVT) += deallocvt.o
+obj-$(CONFIG_DUMPKMAP) += dumpkmap.o
+obj-$(CONFIG_LOADACM) += loadacm.o
+obj-$(CONFIG_LOADFONT) += loadfont.o
+obj-$(CONFIG_LOADKMAP) += loadkmap.o
+obj-$(CONFIG_RESET) += reset.o
+obj-$(CONFIG_SETKEYCODES) += setkeycodes.o
+
+
+# Hand off to toplevel Rules.mak
+include $(TOPDIR)/Rules.mak
+
+clean:
+ rm -f $(L_TARGET) *.o core
+
diff --git a/console-tools/clear.c b/console-tools/clear.c
index 503bafa16..55e02e3d8 100644
--- a/console-tools/clear.c
+++ b/console-tools/clear.c
@@ -2,9 +2,8 @@
/*
* Mini clear implementation for busybox
*
- *
- * Copyright (C) 1999,2000,2001 by Lineo, inc.
- * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
+ * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
+ * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/console-tools/config.in b/console-tools/config.in
new file mode 100644
index 000000000..53d5ac6b4
--- /dev/null
+++ b/console-tools/config.in
@@ -0,0 +1,18 @@
+#
+# For a description of the syntax of this configuration file,
+# see scripts/kbuild/config-language.txt.
+#
+
+mainmenu_option next_comment
+comment 'Console Utilities'
+bool 'chvt' CONFIG_CHVT
+bool 'clear' CONFIG_CLEAR
+bool 'deallocvt' CONFIG_DEALLOCVT
+bool 'dumpkmap' CONFIG_DUMPKMAP
+bool 'loadacm' CONFIG_LOADACM
+bool 'loadfont' CONFIG_LOADFONT
+bool 'loadkmap' CONFIG_LOADKMAP
+bool 'reset' CONFIG_RESET
+bool 'setkeycodes' CONFIG_SETKEYCODES
+
+endmenu
diff --git a/console-tools/reset.c b/console-tools/reset.c
index 755c4c335..84cbb447a 100644
--- a/console-tools/reset.c
+++ b/console-tools/reset.c
@@ -2,10 +2,9 @@
/*
* Mini reset implementation for busybox
*
- *
- * Copyright (C) 1999,2000,2001 by Lineo, inc.
- * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
- * and Kent Robotti <robotti@metconnect.com>
+ * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
+ * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
+ * Written by Erik Andersen and Kent Robotti <robotti@metconnect.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by