From bdfd0d78bc44e73d693510e70087857785b3b521 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 24 Oct 2001 05:00:29 +0000 Subject: Major rework of the directory structure and the entire build system. -Erik --- console-tools/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ console-tools/clear.c | 5 ++--- console-tools/config.in | 18 ++++++++++++++++++ console-tools/reset.c | 7 +++---- 4 files changed, 66 insertions(+), 7 deletions(-) create mode 100644 console-tools/Makefile create mode 100644 console-tools/config.in (limited to 'console-tools') 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 +# +# 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 , + * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen + * Copyright (C) 1999,2000,2001 by Erik Andersen * * 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 , - * and Kent Robotti + * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen + * Copyright (C) 1999,2000,2001 by Erik Andersen + * Written by Erik Andersen and Kent Robotti * * 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 -- cgit v1.2.3