summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* - use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Bernhard Reutner-Fischer2006-03-011-6/+4
| | | | - use less resources for the buildsystem itself
* Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley2006-03-011-2/+1
| | | | from before "if(x) free(x)".
* Rename UNUSE() to SKIP().Rob Landley2006-02-201-1/+1
|
* quick copy-paste typo"Vladimir N. Oleynik"2006-02-171-1/+1
|
* moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"2006-02-161-3/+14
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* isolate and show busybox`s changes"Vladimir N. Oleynik"2006-02-161-31/+30
|
* full removed config.h, use bb_config.h only"Vladimir N. Oleynik"2006-02-152-18/+44
|
* - commentary typosBernhard Reutner-Fischer2006-02-141-3/+3
|
* commentary typos. Thank by aldot"Vladimir N. Oleynik"2006-02-141-16/+16
|
* New USE() macrosRob Landley2006-02-131-65/+866
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each CONFIG_SYMBOL, include/bb_config.h now has both ENABLE_SYMBOL and USE_SYMBOL(x). ENABLE_SYMBOL is still always defined (1 or 0) so that if(ENABLE) should optimize out when it's zero. The USE_SYMBOL(X) will only splice in X if the symbol is defined, otherwise it'll be empty. Thus we can convert this: #ifdef CONFIG_ARGS opt = bb_getopt_ulflags(argc, argv, "ab:c" #ifdef CONFIG_THINGY "d:" #endif , &bvalue #ifdef CONFIG_THINGY , &thingy #endif ); #endif into this: if (ENABLE_ARGS) { opt = bb_getopt_ulflags(argc, argv, "ab:c" USE_THINGY("d:"), &bvalue USE_THINGY(, &thingy)); } And it should produce the same code. Unlike the old versions in include/_usage.h, the new USE_SYMBOL(x) can handle commas in its arguments (as shown above). (The _usage.h file is obsolete and no longer generated.) Nobody should need to include config.h directly anymore, bb_config.h should define all the configuration stuff we need. Someday, the CONFIG_SYMBOL versions should go away in favor of ENABLE_SYMBOL and USE_SYMBOL(). Thanks to vodz for the new version of bb_mkdep.c that works with function macros.
* - commentary typosBernhard Reutner-Fischer2006-02-121-18/+16
|
* make the build system puuuuuuuuuuurtyMike Frysinger2006-02-022-12/+13
|
* removed unneed signed, avoid warning"Vladimir N. Oleynik"2006-01-311-1/+1
|
* just whitespaceTim Riker2006-01-2511-115/+115
|
* Zap sysdeps directory, moving Config.in and defconfig to top of tree.Rob Landley2006-01-201-1/+1
| | | | | (Busybox should not be system dependent enough to have different default configurations for different platforms. We're not a kernel.)
* Make a few warnings go away.Rob Landley2005-12-192-4/+4
|
* bb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3."Vladimir N. Oleynik"2005-10-101-396/+415
| | | | | e2fsprogs: remove confuse bb_mkdep. Use internal e2fsprogs includes only. other: remove confuse bb_mkdep.
* fast replace if src outside"Vladimir N. Oleynik"2005-10-071-29/+21
|
* update documentation"Vladimir N. Oleynik"2005-10-061-3/+3
|
* bb_mkdep can use src outside now"Vladimir N. Oleynik"2005-10-061-1/+21
|
* speed up * 2"Vladimir N. Oleynik"2005-10-031-105/+94
|
* small bug found after strength test"Vladimir N. Oleynik"2005-09-191-1/+2
|
* speed up +10%, update (c), make CONFIG_FEATURE_MOD2_4 as config/feature/mod_2_4"Vladimir N. Oleynik"2005-09-161-26/+30
|
* Whitespace patch (and removal of gratuitous use of cat) by Berhnard Fischer.Rob Landley2005-09-151-5/+7
|
* bb_mkdep version 2.0. speed up *2, remove problem of find e2fsprogs/uu*.h, ↵"Vladimir N. Oleynik"2005-09-141-242/+248
| | | | spelling corrections by Bernhard Fischer
* Our config should write out each symbol once and only once, but still writeRob Landley2005-09-141-28/+39
| | | | out all symbols in all sub-menus. I think this finally does it right.
* bb_mkdep release. speed up *3, clearing, more comments"Vladimir N. Oleynik"2005-09-132-219/+267
|
* bb_mkdep speed up * 10!"Vladimir N. Oleynik"2005-09-121-82/+112
|
* new my scripts/mm_mkdep, dependences work now"Vladimir N. Oleynik"2005-09-123-854/+855
|
* Put the menu_is_visible test back because it avoids printing spuriousRob Landley2005-09-081-12/+12
| | | | (albeit commented out) garbage.
* The previous commit left confdata writing out:Rob Landley2005-09-051-3/+2
| | | | | | | | | | | | CONFIG_NUMERIC_CONSTANT= And on reading it back in, it would complain that '' was an invalid value for that field. I.E. "make allnoconfig && make" worked fine, but "make allnoconfig && make menuconfig" barfed reading in the config file. So now I have it write out "0" as the blank value. (It's initialized to the default value when the menu becomes visible anyway; I checked.) That seems to work.
* Fixes so "make allnoconfig" works again.Rob Landley2005-09-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | 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.
* Bernhard Fischer submitted a couple of Makefile patches:Rob Landley2005-08-241-1/+3
| | | | | | | - Fix building out-of-tree - remove duplicate rule in toplevel Makefile - peruse make's builtin notion of `dirname $@'
* Do not define 'AUTOCONF_INCLUDED'Eric Andersen2005-08-021-1/+0
|
* new config display applet, from bug 46. i've changed the namePaul Fox2005-08-011-0/+65
| | | | | of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately.
* Updated to match trunk/uClibc/extra/config as of r10132, and thusPeter Kjellerstedt2005-04-1923-472/+887
| | | | Linux 2.6.11.
* bernhardf reports with Bug 210:Mike Frysinger2005-04-161-1/+1
| | | | | | | For certain non-gcc compilers, alloca_h is defined (included) but there, no alloca() is declared. Fallback to malloc if _ALLOCA_H is defined but still, there is no alloca() in the included _ALLOCA_H.
* As noticed by egor duda, current_menu is declared as 'extern struct menuEric Andersen2004-10-081-1/+1
| | | | | *current_menu;' in scripts/config/lkc.h line 63, and this conflicts with static definition in mconf.c.
* egor duda writes:Eric Andersen2004-10-081-18/+22
| | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
* Peter Kjellerstedt at axis.com writes:Eric Andersen2004-07-159-109/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hello, the attached patch should bring extra/config in line with the Linux 2.6.7 sources. The following are the commit messages for the respective files from the Linux bk-repository: checklist.c: * fix menuconfig choice item help display confdata.c: * config: choice fix * kconfig: don't rename target dir when saving config expr.c, expr.h: * config: disable debug prints mconf.c: * fix menuconfig choice item help display menu.c: * Kconfig: use select statements symbol.c: * config: choice fix * Avoid bogus warning about recursive dependencies * c99 struct initialiser conversions textbox.c: * janitor: don't init statics to 0 util.c: * fix lxdialog behaviour //Peter
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-1512-83/+83
|
* Minor updates from linux 2.6.1Eric Andersen2004-01-162-13/+30
|
* Patch from Bastian Blank, allow the buildtime to be overriden with aGlenn L McGrath2004-01-131-2/+7
| | | | | different string, used by the debian busybox-cvs to specify the debian date based version number.
* Patch by Rob Landley, fix warningGlenn L McGrath2003-10-031-2/+2
|
* Seems I missed a spotEric Andersen2003-08-052-2/+2
|
* Merge/rework config system per the latest from linux-2.6.0-test2.Eric Andersen2003-08-0513-2549/+3445
| | | | | Fix the config bugs revealed by the updated config system. -Erik
* Patch from Pavel Roskin to fixup toplevel help textEric Andersen2003-06-301-3/+12
|
* Fix the location for the default config so 'make defconfig'Eric Andersen2003-06-121-1/+1
| | | | actually works
* Update mkdep, per the "touchless dependencies for 2.4.x" patchEric Andersen2003-05-241-14/+14
| | | | | from Geert Uytterhoeven posted to the lkml. -Erik