8cab66730a
fix build breakage found by randconfig
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2012-04-20 14:48:00 +02:00
25dbb0743e
bloat-o-meter: Remove unused code
...
The regex matching is way slower, so remove it since it was disabled
anyway.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2012-03-30 19:50:39 +02:00
b1b70969e0
bloat-o-meter: handle huge (hex) sizes.
...
dynamic symbols with size >99999 are printed in hex.
see print_vma(psym->st_size, DEC_5)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2012-03-30 19:26:40 +02:00
1c7724bf2a
gen_build_files.sh: exclude hidden directories
...
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 >
2012-01-30 02:34:56 +01:00
4ea37d62c2
gen_build_files.sh: simplify "print everything up to INSERT line" part
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-10-19 21:17:20 +02:00
efd08bfa0a
gen_build_files: don't pass 200k+ strings as params. Closes 4321
...
Also removes one grep per generated file.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-10-19 17:54:42 +02:00
dd1eb413f2
suppress "warning: implicit declaration of function 'alloca'"
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-09-15 10:37:04 +02:00
98f213ed79
bloat-o-meter: don't require that pythin is in /usr/bin.
...
Signed-off-by: Lauri Kasanen <curaga@operamail.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-07-08 10:56:58 +02:00
126f2b2853
Support configuring Busybox from _defconfig files
...
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 >
2011-07-08 07:59:16 +02:00
ed607a87e0
pam link error with SHARED_BUSYBOX and LIBBUSYBOX enabled
...
Signed-off-by: Steve Iribarne <siribarne@grid-net.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-05-09 01:42:12 +02:00
fcbc641fe3
get rid of several "variable 'x' set but not used" warnings
...
Signed-off-by: Cristian Ionescu-Idbohrn <cii@axis.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-05-01 14:43:53 +02:00
b83c970412
build fixes for scripts/kconfig
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-04-18 01:19:59 +02:00
08caf0900d
fix another nonportable grep usage in scripts
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-04-16 19:45:33 +02:00
c3dadba699
gen_build_files.sh: do not use "sed --" for now
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-04-16 17:59:34 +02:00
b0b8884009
Fix double words in comments. No code changes
...
Signed-off-by: Marek Polacek <mpolacek@redhat.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-04-16 17:33:43 +02:00
bff5f3f2b4
fix bit rot in scripts/Makefile.IMA #2
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-03-06 23:48:24 +01:00
726ebbaa9f
fix bit rot in scripts/Makefile.IMA
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-03-06 23:09:42 +01:00
e7212a4ce5
scripts/mkconfigs: don't use invalid basic regexp
...
\? are GNU extension and thus are non-standard
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-02-09 01:33:41 +01:00
5a746dcec5
scripts/kconfig/mconf.c: stop-gap fix for buffer overflow
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-02-07 02:19:02 +01:00
b2fa0b6219
scripts: fix fixdep.c to let it workable in cygwin
...
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 >
2010-12-18 01:46:38 +01:00
e06884208a
Revert "scripts: fix fixdep.c to let it workable in cygwin"
...
This reverts commit 10c36b8657
.
2010-12-18 01:46:04 +01:00
10c36b8657
scripts: fix fixdep.c to let it workable in cygwin
...
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 >
2010-12-18 01:45:14 +01:00
7a3f8e2fe1
gen_build_files.sh: better comment
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-11-25 06:55:18 +01:00
749e305d36
build system: fix for dash
...
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-11-24 15:06:49 +01:00
26777aa1c6
fixes for bugs discovered by randomconfig builds and tests
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-11-22 23:49:10 +01:00
f9d091316d
gen_build_files.sh: restore deleted comment
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-11-21 22:10:07 +01:00
f718e3a0db
gen_build_files.sh: rewrite with sed
...
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 >
2010-11-16 09:01:54 -05:00
f595d8ed46
typo fix
...
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-11-06 22:17:30 +01:00
833d4e7f84
rename archival/libunarchive -> archival/libarchive; move bz/ into it
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-11-03 02:38:31 +01:00
1642d02710
scripts/mkdiff_obj: show "size OBJFILE" too
...
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-10-29 19:06:20 +02:00
8410ac1a07
bloat-o-meter: make it python3 compliant
...
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 >
2010-10-28 21:39:40 +02:00
02788ac7e2
scripts: remove bitrotted scripts/individual
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-10-28 20:45:37 +02:00
ef6c6d8cfe
mkmakefile: make 3.82 fix
...
Signed-off-by: Thomas Chou <thomas@wytron.com.tw >
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-10-19 12:49:51 +02:00
d493e9361f
remove stray debugging stuff
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-08-29 14:39:45 +02:00
9ce07e778f
bbconfig: add COMPRESS_BBCONFIG option
...
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 >
2010-08-29 14:36:11 +02:00
0ef64bdb40
*: make GNU licensing statement forms more regular
...
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 >
2010-08-16 20:14:46 +02:00
95b83ba4f8
OpenBSD compatibility
...
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-08-06 09:17:26 +02:00
6e06da5efd
update _shipped file with hurd fix
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-08-02 02:17:25 +02:00
3d615b8a41
find_stray_empty_lines: make it work
...
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2010-07-28 21:29:19 +02:00
a3f71001c3
find_stray_empty_lines: fix tail "invalid context" error
...
"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 >
2010-07-28 21:01:55 +02:00
b4d035165f
*: s/spaces/tabs/
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-07-26 12:47:36 +02:00
ba2dcccd79
*: trailing empty lines removed
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-07-26 01:49:12 +02:00
0f8960542f
*: more empty lines removed. no code changes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-07-26 01:35:44 +02:00
daf286cda5
Fix out-of-tree build's recursion
...
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 >
2010-07-18 23:57:49 +02:00
1883cb1746
fix make O=dir build
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-07-09 01:25:36 +02:00
3e5fa43b2f
scripts/randomtest: update to pass testsuite with Rob's toolchain
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-07-06 02:26:35 +02:00
926031b764
*: introduce and use xfork() and xvfork()
...
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 >
2010-07-04 15:32:38 +02:00
1d72d43940
gen_build_files.sh is an order prerequisite only for autoconf.h
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-06-25 13:30:59 +02:00
134d0eb114
cosmetics on top of Dan's patches
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-06-19 20:07:23 +02:00
ebeac1685a
Define GNU-specific link options in one place
...
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 >
2010-06-19 20:03:21 +02:00