summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* gen_build_files.sh: exclude hidden directoriesPaulius Zaleckas2012-01-301-2/+5
| | | | | | | | | | | | | | | | | I am using quilt to manage patches internally. Quilt creates dir .pc and stores unmodified files there. Since I made change in one of Config.src quilt made a copy in .pc/xxx.patch/xxx/Config.src. When I run make it calls gen_build_files.sh and it generates .pc/xxx.patch/xxx/Config.in. Now when I want to pop patch quilt thinks I have made changes to original xxx/Config.in. IMO the best solution is just to ignore hidden directories in gen_build_files.sh. This also results in shorter build time in case busybox is under git/svn versioning, since it avoids searching many directories for Config.src. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: simplify "print everything up to INSERT line" partDenys Vlasenko2011-10-191-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files: don't pass 200k+ strings as params. Closes 4321Denys Vlasenko2011-10-191-33/+23
| | | | | | Also removes one grep per generated file. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* suppress "warning: implicit declaration of function 'alloca'"Denys Vlasenko2011-09-152-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bloat-o-meter: don't require that pythin is in /usr/bin.Lauri Kasanen2011-07-081-2/+2
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Support configuring Busybox from _defconfig filesDaniel Fandrich2011-07-081-1/+1
| | | | | | | | | The existing test .config files are moved to configs/ and renamed to *_defconfig. 'make xyz_defconfig' will enable the configuration in that specific file. Signed-off-by: Daniel Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pam link error with SHARED_BUSYBOX and LIBBUSYBOX enabledSteve Iribarne2011-05-091-0/+1
| | | | | Signed-off-by: Steve Iribarne <siribarne@grid-net.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* get rid of several "variable 'x' set but not used" warningsCristian Ionescu-Idbohrn2011-05-012-14/+5
| | | | | Signed-off-by: Cristian Ionescu-Idbohrn <cii@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build fixes for scripts/kconfigDenys Vlasenko2011-04-182-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix another nonportable grep usage in scriptsDenys Vlasenko2011-04-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh: do not use "sed --" for nowDenys Vlasenko2011-04-161-4/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix double words in comments. No code changesMarek Polacek2011-04-161-1/+1
| | | | | Signed-off-by: Marek Polacek <mpolacek@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bit rot in scripts/Makefile.IMA #2Denys Vlasenko2011-03-061-9/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bit rot in scripts/Makefile.IMADenys Vlasenko2011-03-061-1/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/mkconfigs: don't use invalid basic regexpDenys Vlasenko2011-02-091-1/+1
| | | | | | \? are GNU extension and thus are non-standard Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/kconfig/mconf.c: stop-gap fix for buffer overflowDenys Vlasenko2011-02-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>