]> git.wh0rd.org - patches.git/blame - uclinux-no-autoconf-included-define.patch
more random patches. who knows.
[patches.git] / uclinux-no-autoconf-included-define.patch
CommitLineData
5e993f12 1--- config/setconfig
2+++ config/setconfig
3@@ -97,10 +97,6 @@ fix_conf_files()
4 config/autoconf.h
5 replace_line CONFIG_LANGUAGE "#define CONFIG_LANGUAGE \"$LANGUAGE\"" \
6 config/autoconf.h
7- replace_line VENDORS_AUTOCONF_INCLUDED \
8- "#define VENDORS_AUTOCONF_INCLUDED" config/autoconf.h
9- replace_line "#undef AUTOCONF_INCLUDED" "#undef AUTOCONF_INCLUDED" \
10- config/autoconf.h
11
12 replace_line OLD_VENDOR "OLD_VENDOR=\"$VENDOR\"" ./.oldconfig
13 replace_line OLD_PRODUCT "OLD_PRODUCT=\"$PRODUCT\"" ./.oldconfig
14--- config/scripts/Configure
15+++ config/scripts/Configure
16@@ -537,7 +537,6 @@ echo "#" >> $CONFIG
17 echo "/*" > $CONFIG_H
18 echo " * Automatically generated C config: don't edit" >> $CONFIG_H
19 echo " */" >> $CONFIG_H
20-echo "#define AUTOCONF_INCLUDED" >> $CONFIG_H
21
22 DEFAULT=""
23 if [ "$1" = "-d" ] ; then
24--- config/scripts/Menuconfig
25+++ config/scripts/Menuconfig
26@@ -1279,7 +1279,6 @@ save_configuration () {
27 echo "/*" >$CONFIG_H
28 echo " * Automatically generated by make menuconfig: don't edit" >>$CONFIG_H
29 echo " */" >>$CONFIG_H
30- echo "#define AUTOCONF_INCLUDED" >> $CONFIG_H
31
32 echo -n "."
33 if . $CONFIG_IN >>.menuconfig.log 2>&1
34--- config/scripts/tkgen.c
35+++ config/scripts/tkgen.c
36@@ -1452,7 +1452,6 @@ void dump_tk_script( struct kconfig * sc
37 printf( "\tputs $autocfg \"/*\"\n" );
38 printf( "\tputs $autocfg \" * Automatically generated C config: don't edit\"\n" );
39 printf( "\tputs $autocfg \" */\"\n" );
40- printf( "\tputs $autocfg \"#define AUTOCONF_INCLUDED\"\n" );
41
42 clear_globalflags();
43 for ( cfg = scfg; cfg != NULL; cfg = cfg->next )