summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* scripts: fix fixdep.c to let it workable in cygwinMacpaul Lin2010-12-181-1/+1
| | | | | | | | | Update retrun character detection in the fixdep.c to let it work in cygwin. Signed-off-by: Macpaul Lin <macpaul@andestech.com> Signed-off-by: Greentime <green.hu@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Revert "scripts: fix fixdep.c to let it workable in cygwin"Denys Vlasenko2010-12-181-1/+1
| | | | This reverts commit 10c36b86574133bb1cd29ad04db64c7953b94ab5.
* scripts: fix fixdep.c to let it workable in cygwinGreentime2010-12-181-1/+1
| | | | | | | | | Update return character detection in the fixdep.c to let it workable in cygwin. Signed-off-by: Macpaul Lin <macpaul@andestech.com> Signed-off-by: Greentime <green.hu@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: better commentDenys Vlasenko2010-11-251-3/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix for dashDenys Vlasenko2010-11-241-3/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fixes for bugs discovered by randomconfig builds and testsDenys Vlasenko2010-11-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: restore deleted commentDenys Vlasenko2010-11-211-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: rewrite with sedMike Frysinger2010-11-161-53/+47
| | | | | | | | | The shell parsing of files is incredibly slow on many systems. With one report, the process was taking a minute or two which made people thing the build was hung. So rewrite the craziness with sed and proper shell functions. On an idle system, this cut the runtime by half. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* typo fixDenys Vlasenko2010-11-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rename archival/libunarchive -> archival/libarchive; move bz/ into itDenys Vlasenko2010-11-031-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/mkdiff_obj: show "size OBJFILE" tooDenys Vlasenko2010-10-291-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* bloat-o-meter: make it python3 compliantMarek Polacek2010-10-281-2/+2
| | | | | | | | Python 3 doesn't support the iterkeys() method anymore. Use iter(foo.keys()) instead of foo.iterkeys(). Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts: remove bitrotted scripts/individualDenys Vlasenko2010-10-282-137/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkmakefile: make 3.82 fixThomas Chou2010-10-191-1/+4
| | | | | Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove stray debugging stuffDenys Vlasenko2010-08-291-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bbconfig: add COMPRESS_BBCONFIG optionDenys Vlasenko2010-08-291-8/+32
| | | | | | | | | | | function old new delta bbconfig_config_bz2 - 4905 +4905 bbconfig_main 13 70 +57 bbconfig_config 21811 - -21811 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 4962/-21811) Total: -16849 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-163-3/+3
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* OpenBSD compatibilityWaldemar Brodkorb2010-08-061-1/+1
| | | | | Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* update _shipped file with hurd fixDenys Vlasenko2010-08-021-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find_stray_empty_lines: make it workBernhard Reutner-Fischer2010-07-281-5/+7
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* find_stray_empty_lines: fix tail "invalid context" errorJavier Viguera2010-07-281-1/+1
| | | | | | | | | | | | "tail -1" works only with one input file. Using it with multiple input files throws following error on Ubuntu systems: tail: option used in invalid context Adding "-n" makes it work on all cases. Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* *: s/spaces/tabs/Denys Vlasenko2010-07-261-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: trailing empty lines removedDenys Vlasenko2010-07-2611-12/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: more empty lines removed. no code changesDenys Vlasenko2010-07-261-0/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix out-of-tree build's recursionAlexander Shishkin2010-07-181-2/+2
| | | | | | | | | | | | | | While doing O=build build I've noticed that it was getting gradually slower with each invocation. The reason turned out to be that the build directory was inside the source tree and got recreated inside itself with all its subdirectories. This patch changes the behavior so that only the directories with Kbuild.src or Config.src in them are created in the out-of-tree build directory. A quick rebuild from scratch revealed no problems with this. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix make O=dir buildDenys Vlasenko2010-07-093-2/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/randomtest: update to pass testsuite with Rob's toolchainDenys Vlasenko2010-07-061-3/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use xfork() and xvfork()Pascal Bellard2010-07-041-1/+1
| | | | | | | | | | | | | | | | function old new delta launch_helper 170 169 -1 setup_heredoc 312 302 -10 handle_dir_common 367 354 -13 expand_vars_to_list 2456 2443 -13 open_transformer 89 74 -15 data_extract_to_command 439 423 -16 do_ipaddr 1406 1389 -17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-85) Total: -85 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh is an order prerequisite only for autoconf.hDenys Vlasenko2010-06-251-28/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cosmetics on top of Dan's patchesDenys Vlasenko2010-06-191-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Define GNU-specific link options in one placeDan Fandrich2010-06-191-21/+18
| | | | | | | This makes them easier to change to support a non-GNU toolchain. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix extra bogus files generation in include/config/*Denys Vlasenko2010-06-172-7/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/echo.c: remove bb-ismDenys Vlasenko2010-06-141-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* check-lxdialog.sh: fix helptextBernhard Reutner-Fischer2010-06-111-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* bbconfig: make it independent from printf functionsDenys Vlasenko2010-06-071-2/+1
| | | | | | | | | | | | | | function old new delta full_write2_str - 25 +25 full_write1_str - 25 +25 clear_main 21 20 -1 telnet_main 1488 1477 -11 getty_main 1932 1918 -14 full_write22_str 25 - -25 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/3 up/down: 50/-51) Total: -1 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove defconfig. Now "make defconfig" simply uses defaults from Config.inDenys Vlasenko2010-06-063-928/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make it possible to keep usage texts in .c filesDenys Vlasenko2010-06-062-2/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make it possible to have include/applets.h-esque entries in .c filesDenys Vlasenko2010-06-062-9/+24
| | | | | | As an example, bunzip2 and bzcat is changed to use it. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass renaming Kbuild -> Kbuild.src, Config.in -> Config.srcDenys Vlasenko2010-06-041-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trivial fixes: use uint8_t, not __u8; fix defconfig for fgconsoleDenys Vlasenko2010-05-271-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: make gen_build_files.sh messages more inline with the restDenys Vlasenko2010-05-271-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fgconsole: new applet by Grigory Batalov <bga@altlinux.org>Grigory Batalov2010-05-231-0/+1
| | | | | | | | | | | | | | | function old new delta fgconsole_main - 51 +51 applet_names 2227 2237 +10 applet_main 1304 1308 +4 applet_nameofs 652 654 +2 applet_install_loc 163 164 +1 packed_usage 27079 27073 -6 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/1 up/down: 68/-6) Total: 62 bytes Signed-off-by: Grigory Batalov <bga@altlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trylink: gold may not support --sort-common (yet)Bernhard Reutner-Fischer2010-05-211-7/+10
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* lxdialog: fix ncursesw include detectionBernhard Reutner-Fischer2010-05-211-1/+5
| | | | | | | the lib was checked but the include not, do so. TODO: check if upstream fixed that already or fix it there, too. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* make scripts/gen_build_files.sh standard-cleanDenys Vlasenko2010-05-181-5/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/gen_build_files.sh: revert to using /bin/shDenys Vlasenko2010-05-171-1/+1
| | | | | | People want busybox to build w/o bash, with /bin/sh = ash Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/Makefile.clean: Make Kbuild and Makefile optionalPeter Tyser2010-05-161-1/+1
| | | | | | | | | | | | | | | | During cleaning, some directories might not have a Makefile or Kbuild file. Previously scripts/Makefile.clean would spit out the following error when neither file could be found: ptyser@petert busybox $ make mrproper scripts/Makefile.clean:17: /home/user/busybox/findutils/Makefile: No such file or directory make[1]: *** No rule to make target `/home/user/busybox/findutils/Makefile'. Stop. make: *** [_clean_findutils] Error 2 This issue can be triggered by running 'make mrproper' in a freshly cloned busybox repository. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh uses bashism, document itDenys Vlasenko2010-05-151-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files: use raw reads (ones which don't eat backslashes)Denys Vlasenko2010-05-141-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more randomconfig testsuite fixesDenys Vlasenko2010-05-101-40/+40
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>