busybox/scripts/config
Rob Landley 8a7a678b03 Fixes so "make allnoconfig" works again.
The configure system's save function edited out sub-menus that wouldn't be
displayed in the current configuration, meaning config.h wouldn't have #udef
entries for those symbols, meaning bb_config.h would have the relevant
ENABLE_ missing instead of defined to 0.  This broke the build.

So I fixed it, and then reorganized the applets.c and busybox.c to take
away the warnings this revealed (code that would be optimized out was making
calls to functions that hadn't been prototyped.  So I added an #else case
to those #ifdefs to #define the relevant functions to empty macros to
placate the warnings.

I also reorganized the applets.c code to make adding such an #else case less
of a pain (and make the need for prototyping go away by moving the functions
up before they were used, and generally wind up with fewer #ifdefs in
the code by putting all the logic in one place).  This resulted in a huge
seeming patch, when most if it just moves code from one place to another
without touching it...

Upside: make allyesconfig and make allnoconfig should both work now.
2005-09-05 04:13:33 +00:00
..
lxdialog Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
.cvsignore
conf.c Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
confdata.c Fixes so "make allnoconfig" works again. 2005-09-05 04:13:33 +00:00
expr.c Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
expr.h Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
Kconfig-language.txt Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
lex.zconf.c_shipped Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
lkc_proto.h Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
lkc.h Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
Makefile Bernhard Fischer submitted a couple of Makefile patches: 2005-08-24 00:41:52 +00:00
mconf.c Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
menu.c Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
mkconfigs new config display applet, from bug 46. i've changed the name 2005-08-01 16:04:40 +00:00
symbol.c Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
util.c Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
zconf.l Merge/rework config system per the latest from linux-2.6.0-test2. 2003-08-05 02:18:25 +00:00
zconf.tab.c_shipped Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00
zconf.tab.h_shipped
zconf.y Updated to match trunk/uClibc/extra/config as of r10132, and thus 2005-04-19 09:55:06 +00:00