Denys Vlasenko
1602a5cdb9
gen_build_files.sh should be executable
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-10 04:18:42 +02:00
Denys Vlasenko
ff0e875e02
work on adding testsuite runs to randomconfig test builds
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-10 04:16:43 +02:00
Denys Vlasenko
572b9a3019
tweak scripts/gen_build_files.sh
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-09 16:20:52 +02:00
Denys Vlasenko
7fb68f199f
make it possible to keep Config/Kbuild snippets in *.c files
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-09 04:22:48 +02:00
Lauri Kasanen
375a8ef5ea
mount: add an optional capability to create new /dev/loopN as needed
...
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14 12:31:26 -07:00
Jérémie Koenig
fbedacfc8c
Hurd compat fixes. Mostly dealing with absent PATH_MAX
...
Signed-off-by: Jérémie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-26 19:08:53 +01:00
Denys Vlasenko
19158a837d
unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALE
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-03-26 14:06:56 +01:00
Bernhard Reutner-Fischer
0454d9d6c3
update defconfig
...
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-25 14:19:34 +01:00
Denys Vlasenko
00ddd44cda
fix typos in comments and doc
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-02-19 09:16:33 +01:00
Bernhard Reutner-Fischer
eb255752c1
bloat-o-meter: convert to print() calls
...
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-07 19:42:48 +01:00
Bernhard Reutner-Fischer
f16d7c4bdf
bloat-o-meter: fix quadric behavior in alias resolution
...
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-07 19:26:18 +01:00
Bernhard Reutner-Fischer
659507f84e
bloat-o-meter: teach it to handle aliases
...
Previously aliases were counted as full implementation taking up space:
setservent 64 55 -9
__GI_setservent 64 55 -9
getservent_r 420 319 -101
__GI_getservent_r 420 319 -101
Teach it to properly handle aliases.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-02 20:09:10 +01:00
Denys Vlasenko
e57ea7edb6
update defconfig
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-27 20:57:00 +01:00
Denys Vlasenko
3581c62515
whitespace fixes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-25 13:39:24 +01:00
Denys Vlasenko
2315c8854c
scripts/randomtest: tweaks for non-eliminable warnings and broken static glibc
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-24 23:33:06 +01:00
Denys Vlasenko
7306727d1b
shell: split read builtin from ash
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-12 22:11:24 +01:00
Denys Vlasenko
f3ec0fb1b4
scripts/basic/docproc.c: remove stray NUL byte from the source
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-12 13:48:42 +01:00
Denys Vlasenko
31e2e7b863
randomconfig fixes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-12 02:42:35 +01:00
Denys Vlasenko
4662de0511
replace APP_xxDHCPxx with xxDHCPxx, it's more consistent with the rest
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-11 02:21:10 +01:00
Denys Vlasenko
fa1e7177fb
build system: fix for coarse mtime problem
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-26 05:25:24 +01:00
Denys Vlasenko
8131eea3dc
*: introduce and use ffulsh_all()
...
function old new delta
buffer_fill_and_print 179 196 +17
fflush_all - 9 +9
spawn 87 92 +5
rtcwake_main 455 453 -2
...
alarm_intr 93 84 -9
readcmd 1072 1062 -10
bb_ask 345 333 -12
more_main 845 832 -13
flush_stdout_stderr 42 23 -19
xfflush_stdout 27 - -27
flush_stderr 30 - -30
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 2/50 up/down: 31/-397) Total: -366 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-02 14:19:51 +01:00
Bernhard Reutner-Fischer
e039e689e3
wall: new applet
...
text data bss dec hex filename
81 0 0 81 51 miscutils/wall.o
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-27 17:34:36 +01:00
Denys Vlasenko
adf922ec28
*: a few more NOINLINEs
...
function old new delta
print_linkinfo - 815 +815
do_msg - 783 +783
INET_setroute - 757 +757
varvalue - 746 +746
do_sem - 637 +637
inflate_codes - 617 +617
INET6_setroute - 491 +491
edir - 370 +370
sync_cursor - 298 +298
update_utmp - 246 +246
searchLines - 165 +165
setup_alarm - 144 +144
may_wakeup - 101 +101
getNum 566 371 -195
refresh 1166 848 -318
rtcwake_main 809 479 -330
getty_main 2396 1921 -475
chpst_main 1373 746 -627
inflate_unzip_internal 1335 567 -768
evalvar 1384 612 -772
ipaddr_list_or_flush 2160 1246 -914
route_main 1585 245 -1340
ipcs_main 2523 1049 -1474
------------------------------------------------------------------------------
(add/remove: 13/0 grow/shrink: 0/10 up/down: 6170/-7213) Total: -1043 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-08 14:35:37 +02:00
Denys Vlasenko
0da1c0a732
beep: optimize
...
function old new delta
beep_main 394 276 -118
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-22 18:00:39 +02:00
Bernhard Reutner-Fischer
00ea82e846
add config knob for default freq and length
...
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-08-21 14:40:29 +02:00
Denys Vlasenko
e10db56aa3
update defconfig
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-21 00:16:01 +02:00
Denys Vlasenko
0568b6e45a
randomconfig fixes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-08 03:20:12 +02:00
Denys Vlasenko
eb1cda2f2d
trylink: don't use ld --gc-sections if ld doesn't support it
...
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-27 00:24:35 +02:00
Denys Vlasenko
8e5d83b6c1
mkswap: remove configuration for v0 support
...
mkswap hasn't had v0 support since commit
d893b120bae5a9bdef4cfda2df5e62867d6b1cd0; it doesn't seem to make sense
to offer it for configuration.
Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-19 13:45:01 +02:00
Denys Vlasenko
f3b92d3856
getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS
...
Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-19 12:10:38 +02:00
Mike Frysinger
98f74034cd
bloat-o-meter: touchup argv handling
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Matt Mackall <mpm@selenic.com>
2009-06-01 16:37:27 -04:00
Mike Frysinger
5177e28e9c
bloat-o-meter: fix tab/space mixing
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-01 16:34:11 -04:00
Mike Frysinger
3322351724
add .gitignore files
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-05 09:05:30 -04:00
Denis Vlasenko
5e34ff29bc
*: mass renaming of USE_XXXX to IF_XXXX
...
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!
2009-04-21 11:09:40 +00:00
Denis Vlasenko
184f4ff432
disable FLASH_ERASEALL in defconfig
2009-04-16 23:05:59 +00:00
Denis Vlasenko
5dcb43a5d1
website: announce 1.14.0 and 1.13.4
...
Makefile: bump version to 1.14.0
2009-04-15 02:13:14 +00:00
Denis Vlasenko
2b2183a77d
hush: make function support configurable
2009-04-13 14:23:12 +00:00
Denis Vlasenko
18f2a79f9b
build system tweaks to account for latest hush changes
2009-04-05 09:02:11 +00:00
Denis Vlasenko
88b8f0a347
sendmail: update by Vladimir
...
build system: tweak for rare case where include/autoconf.h
does not get updated
function old new delta
packed_usage 26238 26242 +4
sendmail_main 1353 897 -456
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-456) Total: -452 bytes
2009-03-31 23:41:53 +00:00
Denis Vlasenko
a2333c8938
randomtest fixes
2009-03-28 19:08:23 +00:00
Denis Vlasenko
83518d18a3
Compatibility fixes:
...
grep: support -z
find: support --mindepth
together +45 bytes
cpio: support -p (configurable, +230 bytes)
libbb: tweaks for cpio
2009-03-20 22:17:13 +00:00
Denis Vlasenko
c6ab085002
Make "shadowed" numeric config entries (ones which depend on
...
other options which are off) to have the value of 0, not "".
2009-02-15 12:01:14 +00:00
Denis Vlasenko
1cbfd98ded
httpd:
...
Kill config options by making them always on:
FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES
This makes httpd.c remotely readable - it had ~125 #ifdefs, now it has ~100.
The growth on a .config with all FEATURE_HTTPDs off is:
function old new delta
send_file_and_exit - 269 +269
parse_conf 683 763 +80
free_llist - 32 +32
httpd_main 427 454 +27
sighup_handler - 15 +15
handle_incoming_and_exit 1110 905 -205
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 2/1 up/down: 423/-205) Total: 218 bytes
2009-02-04 23:43:44 +00:00
Denis Vlasenko
928b2c0fee
...and exclude LC_ALL too
2008-12-01 12:38:36 +00:00
Denis Vlasenko
dcc921e3ca
build system: fix sorting + locale in make objsizes
2008-12-01 12:36:41 +00:00
Denis Vlasenko
62e0dc2b51
update random config tester
2008-11-09 16:08:31 +00:00
Denis Vlasenko
2a8329e0e9
build system: remove '-Wl,' when we pass flags to ld.
2008-11-08 20:36:32 +00:00
Denis Vlasenko
4f7d90f1c7
defconfig: explain what we aim it to be
2008-11-07 01:32:11 +00:00
Denis Vlasenko
35a064b67f
build system: tidying up CONFIG_xxx names (suggested by Rob)
2008-11-06 00:49:59 +00:00
Denis Vlasenko
1fe7887659
another small defconfig update
2008-10-29 12:25:39 +00:00
Denis Vlasenko
b15a6f2489
update defconfig
2008-10-29 12:18:10 +00:00
Denis Vlasenko
53c80f0972
less: add optional line number toggle and resizing on SIGWINCH.
2008-10-24 22:43:27 +00:00
Denis Vlasenko
2d5bd807c0
build system cleanup: rename FEATURE_AWK_MATH to FEATURE_AWK_LIBM;
...
disable parsing test applet.
2008-10-24 10:49:49 +00:00
Bernhard Reutner-Fischer
2dfd295726
- give glob a chance
...
CROSS_COMPILE=~/foo-bar-baz would fail otherwise
See http://www.uclibc.org/lists/buildroot/2008-October/011191.html
2008-10-23 13:49:21 +00:00
Denis Vlasenko
5cb54b5adc
init: downgrade ENABLE_DEBUG_INIT to just a #define to prevent people
...
from selecting it in error. It has to be used ONLY for debugging
init, never in production, as resulting init has serious differences.
2008-10-21 17:14:26 +00:00
Denis Vlasenko
27e1501cb2
scripts/randomtest[.loop]: add scripts for randomconfig testing
2008-09-28 17:19:02 +00:00
Bernhard Reutner-Fischer
6c4dadefb6
- update my name. No obj-code changes ;)
2008-09-25 12:13:34 +00:00
Denis Vlasenko
d66aa3c701
df: add support for more options, add some coreutils 6.10 compat.
...
by Bernhard Reutner-Fischer
function old new delta
df_main 664 795 +131
packed_usage 24812 24862 +50
make_human_readable_str 213 262 +49
static.ignored_mounts - 8 +8
static.unit_chars - 7 +7
static.zero_and_units 6 - -6
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 3/0 up/down: 245/-6) Total: 239 bytes
2008-08-28 22:42:52 +00:00
Bernhard Reutner-Fischer
1ebdaccd6d
- forgot to pass in the HOST_EXTRACFLAGS
2008-08-28 14:29:54 +00:00
Bernhard Reutner-Fischer
f3d1e213fe
- pull check-lxdialog from linux-2.6.26
2008-08-27 07:39:57 +00:00
Denis Vlasenko
b522d6931d
trylink: make messages less confusing
2008-08-26 20:09:08 +00:00
Denis Vlasenko
625ed8e027
Updating defconfig, fixing a typo in Config.in
2008-08-19 22:26:05 +00:00
Bernhard Reutner-Fischer
c77e843c09
- add new applet rdev (Grant Erickson)
...
- fixes and shrink (me)
2008-08-19 11:28:52 +00:00
Denis Vlasenko
e9ad84dfd4
*: refactor handling of archived files. "tar f file.tar.lzma" now works too.
...
function old new delta
unpack_Z_stream - 1229 +1229
open_zipped - 176 +176
unpack_bz2_stream_prime - 60 +60
tar_main 642 677 +35
find_main 406 418 +12
sv_main 1222 1233 +11
decode_format_string 829 837 +8
cmp_main 641 649 +8
popstring 134 140 +6
filter_accept_list_reassign 120 125 +5
parse_and_put_prompt 800 804 +4
passwd_main 1053 1049 -4
make_new_name_gunzip 119 114 -5
rpm_main 1688 1670 -18
prepare 302 283 -19
xmalloc_open_zipped_read_close 135 61 -74
uncompress 1229 - -1229
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 8/5 up/down: 1554/-1349) Total: 205 bytes
2008-08-05 13:10:34 +00:00
Denis Vlasenko
5415c856ea
libbb: [x]fopen_for_{read,write} introduced and used.
...
(by Valdimir)
function old new delta
config_open2 - 41 +41
config_read 507 542 +35
find_pair 169 187 +18
fopen_for_write - 14 +14
fopen_for_read - 14 +14
find_main 406 418 +12
xfopen_for_write - 10 +10
xfopen_for_read - 10 +10
popstring 134 140 +6
parse_inittab 396 401 +5
next_token 923 928 +5
pack_gzip 1659 1661 +2
bb__parsespent 117 119 +2
fallbackSort 1719 1717 -2
evalvar 1376 1374 -2
qrealloc 36 33 -3
...
...
...
...
singlemount 4579 4569 -10
process_stdin 443 433 -10
patch_main 1111 1101 -10
ifupdown_main 2175 2165 -10
file_action_grep 90 80 -10
uuidcache_init 649 637 -12
hush_main 797 785 -12
read_config 230 217 -13
dpkg_main 3835 3820 -15
read_line_input 3134 3110 -24
sysctl_main 232 203 -29
config_open 40 10 -30
WARN_BAD_LINE 44 - -44
login_main 1714 1575 -139
------------------------------------------------------------------------------
(add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
2008-07-21 23:05:26 +00:00
Bernhard Reutner-Fischer
627052e75d
- warn about overlong lines in help-texts
...
I initially bailed out with an error, but then that's a bit rough. Just warn to trick somebody into fixing them..
2008-07-17 08:02:28 +00:00
Denis Vlasenko
52ec4b98d5
whitespace fixes
2008-07-12 23:02:43 +00:00
Denis Vlasenko
a8374a1916
whitespace fixing script
2008-07-12 22:48:58 +00:00
Denis Vlasenko
88643a86d0
build system: re-add mistakenly deleted script
2008-07-11 10:21:29 +00:00
Denis Vlasenko
7c053262af
buld system: suppress a warning
2008-07-09 20:07:59 +00:00
Denis Vlasenko
dbcf3275ec
build system fixlet to ease blackfin build
2008-06-28 04:00:01 +00:00
Denis Vlasenko
f4cfa1bd5a
update defconfig
2008-06-25 10:59:44 +00:00
Denis Vlasenko
dd316dd283
hush: add support for ':'; create testsuite entries
...
text data bss dec hex filename
809569 612 7044 817225 c7849 busybox_old
809528 612 7044 817184 c7820 busybox_unstripped
2008-06-14 15:50:55 +00:00
Denis Vlasenko
401de648a7
Build system: track -Wl,-elf2flt in CFLAGS_busybox too.
...
Document in comments that it generally should be thers,
not in LDFLAGS
2008-06-06 16:11:12 +00:00
Denis Vlasenko
1da86d2f40
build system: add PIE build option
2008-06-04 11:28:24 +00:00
Denis Vlasenko
b8e653bfbf
Reinstate CONFIG_CROSS_COMPILE_PREFIX
2008-06-02 04:51:29 +00:00
Denis Vlasenko
417e240abb
Remove 'busybox' word from configuration programs
...
(based on experience of adapting it to uclibc).
2008-05-28 11:59:32 +00:00
Denis Vlasenko
7a5f494cab
scripts: add a script which prints memory map of running busybox
2008-05-26 18:41:35 +00:00
Denis Vlasenko
c47e8978fe
scripts: add primitive memory usage meter script
2008-05-26 18:36:37 +00:00
Bernhard Reutner-Fischer
cf575ca856
- optionally pass additional flags down to nm
2008-05-23 12:53:18 +00:00
Bernhard Reutner-Fischer
7bd8d8fd26
- make Christian happy
2008-05-21 21:15:37 +00:00
Bernhard Reutner-Fischer
49bdf28c32
- skip empty lines and archive members
2008-05-21 10:32:39 +00:00
Bernhard Reutner-Fischer
ae4342ca3e
- Rename getpty() to xgetpty() and adjust callers.
...
- Rewrite kbd_mode and setconsole
- Introduce and use console_make_active() and xopen_xwrite_close()
- honour buffer-reservation method as set by the user (dumpkmap, loadkmap)
- shrink rtcwake and some console-tools
Saves about 270 Bytes
2008-05-19 08:18:50 +00:00
Bernhard Reutner-Fischer
f3b778a4dc
- fix bug where we incorrectly rejected ifconfig eth0 hw ether $whatever
...
- add support for printing ipoib to ifconfig
2008-05-16 16:10:31 +00:00
Denis Vlasenko
9305cdddbf
Kill CONFIG_NITPICK, it turned out to not be useful. no code changes.
2008-05-13 02:43:27 +00:00
Bernhard Reutner-Fischer
50dbed95fb
- pass flags to ld in one argument
2008-05-09 12:43:04 +00:00
Bernhard Reutner-Fischer
2af860464e
- forgot to pull in arch-specific tweaks
2008-05-08 13:25:20 +00:00
Denis Vlasenko
687a26fe0d
more fixes to testsuite by Cristian and vda
2008-05-02 21:46:30 +00:00
Denis Vlasenko
a2dcb50175
trylink: fix glibc check; make --sort-section option look less ugly
2008-04-30 00:15:56 +00:00
Denis Vlasenko
b140eddc41
fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing)
2008-04-25 19:00:39 +00:00
Denis Vlasenko
55e06c1edf
Makefile.IMA: generate autoconf.h if needed
...
Makefile.IMA: use ld -gc-collect on gc -combine result
(by using trylink script). Saves ~3k.
2008-04-12 13:46:39 +00:00
Bernhard Reutner-Fischer
eecd588c53
- fix detection of whole-program
...
It helps if we first pull in the function we use for testing flags ;)
2008-04-11 12:42:23 +00:00
Bernhard Reutner-Fischer
1d690db720
- also use the incoming LDFLAGS and EXTRA_LDFLAGS
...
This isn't perfect since it will barf on linker flags with two args like -Wl,z,now et al.
2008-04-11 12:31:57 +00:00
Bernhard Reutner-Fischer
3bc7d7df3d
- erm sorry. no ipsvd here
2008-04-11 11:59:09 +00:00
Bernhard Reutner-Fischer
0f5dfd6b9a
- add ipsvd
2008-04-11 11:50:55 +00:00
Denis Vlasenko
93b8263652
fix build with gcc -combine
2008-04-11 11:27:29 +00:00
Bernhard Reutner-Fischer
119f87be2a
- add printutils and util-linux/volume_id
...
- pull in Kbuild.includes
2008-04-11 08:46:56 +00:00
Denis Vlasenko
1af00eda92
cpio: fix a bug where we do not extract zero-sized hardlinks
...
(spotted at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771 ).
Add testsuite entry for that, and another one for another bug:
we do not list hardlinks in cpio -t (not fixed).
function old new delta
get_header_cpio 884 909 +25
static.saved_hardlinks_created - 4 +4
static.pending_hardlinks 4 - -4
static.inode 4 - -4
cpio_main 1122 1060 -62
2008-04-05 02:44:30 +00:00
Bernhard Reutner-Fischer
ce7eb4443c
- add fbsplash and CONFIG_ASH_BASH_COMPAT to defconfig
2008-03-26 16:15:13 +00:00
Denis Vlasenko
c693840fe8
*: whitespace fixes, no code changes
2008-03-24 02:18:03 +00:00