aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
commitbdfd0d78bc44e73d693510e70087857785b3b521 (patch)
tree153a573095afac8d8d0ea857759ecabd77fb28b7 /console-tools
parent9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff)
downloadbusybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz
busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2
busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip
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 @@
1# Makefile for busybox
2#
3# Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18#
19
20TOPDIR :=..
21L_TARGET := console-tools.a
22
23obj-y :=
24obj-n :=
25obj- :=
26
27obj-$(CONFIG_CHVT) += chvt.o
28obj-$(CONFIG_CLEAR) += clear.o
29obj-$(CONFIG_DEALLOCVT) += deallocvt.o
30obj-$(CONFIG_DUMPKMAP) += dumpkmap.o
31obj-$(CONFIG_LOADACM) += loadacm.o
32obj-$(CONFIG_LOADFONT) += loadfont.o
33obj-$(CONFIG_LOADKMAP) += loadkmap.o
34obj-$(CONFIG_RESET) += reset.o
35obj-$(CONFIG_SETKEYCODES) += setkeycodes.o
36
37
38# Hand off to toplevel Rules.mak
39include $(TOPDIR)/Rules.mak
40
41clean:
42 rm -f $(L_TARGET) *.o core
43
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 @@
2/* 2/*
3 * Mini clear implementation for busybox 3 * Mini clear implementation for busybox
4 * 4 *
5 * 5 * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
6 * Copyright (C) 1999,2000,2001 by Lineo, inc. 6 * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
7 * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
8 * 7 *
9 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by 9 * 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 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu_option next_comment
7comment 'Console Utilities'
8bool 'chvt' CONFIG_CHVT
9bool 'clear' CONFIG_CLEAR
10bool 'deallocvt' CONFIG_DEALLOCVT
11bool 'dumpkmap' CONFIG_DUMPKMAP
12bool 'loadacm' CONFIG_LOADACM
13bool 'loadfont' CONFIG_LOADFONT
14bool 'loadkmap' CONFIG_LOADKMAP
15bool 'reset' CONFIG_RESET
16bool 'setkeycodes' CONFIG_SETKEYCODES
17
18endmenu
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 @@
2/* 2/*
3 * Mini reset implementation for busybox 3 * Mini reset implementation for busybox
4 * 4 *
5 * 5 * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
6 * Copyright (C) 1999,2000,2001 by Lineo, inc. 6 * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
7 * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org> 7 * Written by Erik Andersen and Kent Robotti <robotti@metconnect.com>
8 * and Kent Robotti <robotti@metconnect.com>
9 * 8 *
10 * This program is free software; you can redistribute it and/or modify 9 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by 10 * it under the terms of the GNU General Public License as published by