diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
commit | bdfd0d78bc44e73d693510e70087857785b3b521 (patch) | |
tree | 153a573095afac8d8d0ea857759ecabd77fb28b7 /console-tools | |
parent | 9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff) | |
download | busybox-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/Makefile | 43 | ||||
-rw-r--r-- | console-tools/clear.c | 5 | ||||
-rw-r--r-- | console-tools/config.in | 18 | ||||
-rw-r--r-- | console-tools/reset.c | 7 |
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 | |||
20 | TOPDIR :=.. | ||
21 | L_TARGET := console-tools.a | ||
22 | |||
23 | obj-y := | ||
24 | obj-n := | ||
25 | obj- := | ||
26 | |||
27 | obj-$(CONFIG_CHVT) += chvt.o | ||
28 | obj-$(CONFIG_CLEAR) += clear.o | ||
29 | obj-$(CONFIG_DEALLOCVT) += deallocvt.o | ||
30 | obj-$(CONFIG_DUMPKMAP) += dumpkmap.o | ||
31 | obj-$(CONFIG_LOADACM) += loadacm.o | ||
32 | obj-$(CONFIG_LOADFONT) += loadfont.o | ||
33 | obj-$(CONFIG_LOADKMAP) += loadkmap.o | ||
34 | obj-$(CONFIG_RESET) += reset.o | ||
35 | obj-$(CONFIG_SETKEYCODES) += setkeycodes.o | ||
36 | |||
37 | |||
38 | # Hand off to toplevel Rules.mak | ||
39 | include $(TOPDIR)/Rules.mak | ||
40 | |||
41 | clean: | ||
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 | |||
6 | mainmenu_option next_comment | ||
7 | comment 'Console Utilities' | ||
8 | bool 'chvt' CONFIG_CHVT | ||
9 | bool 'clear' CONFIG_CLEAR | ||
10 | bool 'deallocvt' CONFIG_DEALLOCVT | ||
11 | bool 'dumpkmap' CONFIG_DUMPKMAP | ||
12 | bool 'loadacm' CONFIG_LOADACM | ||
13 | bool 'loadfont' CONFIG_LOADFONT | ||
14 | bool 'loadkmap' CONFIG_LOADKMAP | ||
15 | bool 'reset' CONFIG_RESET | ||
16 | bool 'setkeycodes' CONFIG_SETKEYCODES | ||
17 | |||
18 | 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 @@ | |||
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 |