svn commit: trunk/buildroot/package/config
Author: aldot
Date: 2007-06-28 04:53:59 -0700 (Thu, 28 Jun 2007) New Revision: 18958
Log:
- make it compile with a C89 compiler
Added:
trunk/buildroot/package/config/foo.h
Modified:
trunk/buildroot/package/config/Makefile trunk/buildroot/package/config/README.buildroot2 trunk/buildroot/package/config/conf.c trunk/buildroot/package/config/confdata.c trunk/buildroot/package/config/expr.c trunk/buildroot/package/config/expr.h trunk/buildroot/package/config/kconfig-to-buildroot2.patch
Changeset:
Modified: trunk/buildroot/package/config/Makefile
===================================================================
buildroot/package/config/Makefile +1 -1
@@ -5,7 +5,7 @@ srctree := . include Makefile.kconfig - +HOSTCFLAGS+=-Dinline="" -include foo.h -include .depend .depend: $(wildcard *.h *.c) $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) -MM *.c > .depend 2>/dev/null || :
Modified: trunk/buildroot/package/config/README.buildroot2
===================================================================
buildroot/package/config/README.buildroot2 +2 -0
@@ -7,6 +7,8 @@ mv Makefile Makefile.kconfig patch -p1 < ../config/kconfig-to-buildroot.patch cp ../config/README.buildroot2 . + cp ../config/foo.h . + cp ../config/Makefile . cd .. rm -rf config mv config.new config
Modified: trunk/buildroot/package/config/conf.c
===================================================================
buildroot/package/config/conf.c +1 -1
@@ -542,7 +542,7 @@exit (1 ); }conf_parse (name); -//zconfdump(stdout); +/*zconfdump(stdout);*/ switch (input_mode) {case set_default:if (!defconfig_file)
Modified: trunk/buildroot/package/config/confdata.c
===================================================================
buildroot/package/config/confdata.c +1 -1
@@ -183,7 +183,7 @@ ; }break ; - case 'A' ... 'Z': +case 'A' :case 'B' :case 'C' :case 'D' :case 'E' :case 'F' :case 'G' :case 'H' :case 'I' :case 'J' :case 'K' :case 'L' :case 'M' :case 'N' :case 'O' :case 'P' :case 'Q' :case 'R' :case 'S' :case 'T' :case 'U' :case 'V' :case 'W' :case 'X' :case 'Y' :case 'Z' : p =strchr (line,'=' );if (!p)continue ;
Modified: trunk/buildroot/package/config/expr.c
===================================================================
buildroot/package/config/expr.c +21 -21
158 lines not on this page · raw message
Modified: trunk/buildroot/package/config/expr.h
===================================================================
buildroot/package/config/expr.h +2 -2
@@ -65,7 +65,7 @@enum {S_DEF_USER ,/* main user value */ -S_DEF_AUTO , +S_DEF_AUTO };struct symbol {
@@ -139,7 +139,7 @@struct property *prompt;struct expr *dep;unsigned int flags; -//char *help; +/*char *help; */ struct file *file;int lineno;void *data;
Added: trunk/buildroot/package/config/foo.h
===================================================================
buildroot/package/config/foo.h +9 -0
@@ -0,0 +1,9 @@ +#ifndef __KCONFIG_FOO_H +#define __KCONFIG_FOO_H +#include <features.h> +#include <limits.h> + +#ifndef PATH_MAX +#define PATH_MAX 1024 +#endif +#endif /* __KCONFIG_FOO_H */
Modified: trunk/buildroot/package/config/kconfig-to-buildroot2.patch
===================================================================
buildroot/package/config/kconfig-to-buildroot2.patch +206 -1
216 lines not on this page · raw message