Commit 2513f654 authored by Brian Gerst's avatar Brian Gerst Committed by Linus Torvalds

[PATCH] remove scripts/mkconfigs

This script is no longer used after the patch to consolidate the stored
configs.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0aaadeb0
#!/bin/sh
#
# Copyright (C) 2002 Khalid Aziz <khalid_aziz@hp.com>
# Copyright (C) 2002 Randy Dunlap <rddunlap@osdl.org>
# Copyright (C) 2002 Al Stone <ahs3@fc.hp.com>
# Copyright (C) 2002 Hewlett-Packard Company
#
# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
# Rules to generate ikconfig.h from linux/.config:
# - Retain lines that begin with "CONFIG_"
# - Retain lines that begin with "# CONFIG_"
# - lines that use double-quotes must \\-escape-quote them
if [ $# -lt 2 ]
then
echo "Usage: `basename $0` <configuration_file> <Makefile>"
exit 1
fi
config=$1
makefile=$2
cat << EOF
#ifndef _IKCONFIG_H
#define _IKCONFIG_H
/*
*
* 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, GOOD TITLE or
* NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
*
* This file is generated automatically by scripts/mkconfigs. Do not edit.
*
*/
static char const ikconfig_config[] __attribute__((unused)) =
"CONFIG_BEGIN=n\\n\\
$(sed < $config -n 's/"/\\"/g;/^#\? \?CONFIG_/s/.*/&\\n\\/p')
CONFIG_END=n\\n";
#endif /* _IKCONFIG_H */
EOF
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment