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
Denis Vlasenko
ffa5d76602
update defconfig
2008-03-21 20:37:16 +00:00
Denis Vlasenko
4824ccae8e
*: fix build problems found with randomconfig
2008-03-21 18:29:01 +00:00
Denis Vlasenko
0dc490bda2
scripts/bb_release: release script (I nearly lost it last time)
...
website: update links to latest releases
2008-03-21 09:56:19 +00:00
Denis Vlasenko
d25c33f186
volume_id: disable detection routines which are not setting label and uuid anyway
...
function old new delta
static.warn 1 - -1
static.drive_name_string 14 12 -2
static.offsets 8 - -8
static.sectors 10 - -10
fs2 60 48 -12
raid2 16 - -16
uuidcache_init 704 677 -27
raid1 32 - -32
volume_id_probe_all 198 158 -40
volume_id_probe_lvm1 58 - -58
volume_id_probe_highpoint_37x_raid 63 - -63
volume_id_probe_hpfs 67 - -67
volume_id_probe_minix 74 - -74
volume_id_probe_lvm2 78 - -78
volume_id_probe_silicon_medley_raid 97 - -97
volume_id_probe_via_raid 101 - -101
volume_id_probe_highpoint_45x_raid 104 - -104
volume_id_probe_nvidia_raid 108 - -108
volume_id_probe_lsi_mega_raid 108 - -108
volume_id_probe_intel_software_raid 108 - -108
volume_id_probe_ufs 126 - -126
volume_id_probe_promise_fasttrack_raid 144 - -144
------------------------------------------------------------------------------
(add/remove: 0/18 grow/shrink: 0/4 up/down: 0/-1384) Total: -1384 bytes
text data bss dec hex filename
794244 662 7420 802326 c3e16 busybox_old
792698 662 7420 800780 c380c busybox_unstripped
2008-03-17 09:25:05 +00:00
Denis Vlasenko
c5b737231d
volude_id: remove unused fields and functions which were setting them
...
function old new delta
uuidcache_init 567 704 +137
findfs_main - 125 +125
packed_usage 23662 23694 +32
static.drive_name_string - 14 +14
applet_names 1815 1822 +7
applet_main 1104 1108 +4
volume_id_open_node 35 38 +3
applet_nameofs 552 554 +2
get_devname_from_label 78 79 +1
applet_install_loc 138 139 +1
volume_id_set_label_unicode16 31 27 -4
volume_id_set_label_string 74 70 -4
get_devname_from_uuid 63 59 -4
fs1 12 8 -4
volume_id_set_unicode16 209 202 -7
volume_id_free_buffer 71 56 -15
free_volume_id 52 37 -15
volume_id_probe_luks 97 79 -18
volume_id_set_usage_part 21 - -21
volume_id_probe_ufs 148 126 -22
volume_id_probe_lsi_mega_raid 131 108 -23
volume_id_probe_highpoint_45x_raid 127 104 -23
volume_id_probe_highpoint_37x_raid 87 63 -24
volume_id_set_usage 28 - -28
volume_id_probe_romfs 121 93 -28
volume_id_set_label_raw 30 - -30
volume_id_probe_promise_fasttrack_raid 174 144 -30
volume_id_set_uuid 373 342 -31
volume_id_probe_xfs 122 91 -31
volume_id_probe_jfs 138 107 -31
volume_id_probe_ocfs2 139 107 -32
volume_id_probe_lvm1 90 58 -32
volume_id_probe_cramfs 106 63 -43
volume_id_probe_via_raid 145 101 -44
volume_id_probe_intel_software_raid 153 108 -45
volume_id_probe_minix 121 74 -47
volume_id_probe_udf 682 632 -50
volume_id_probe_nvidia_raid 158 108 -50
volume_id_probe_lvm2 128 78 -50
volume_id_probe_hpfs 117 67 -50
volume_id_probe_ext 143 93 -50
volume_id_probe_linux_raid 191 139 -52
volume_id_probe_sysv 244 187 -57
volume_id_probe_silicon_medley_raid 158 97 -61
usage_to_string 64 - -64
volume_id_probe_linux_swap 263 198 -65
volume_id_get_buffer 372 307 -65
volume_id_probe_iso9660 412 332 -80
volume_id_probe_hfs_hfsplus 888 806 -82
volume_id_probe_ntfs 396 294 -102
volume_id_probe_vfat 980 872 -108
volume_id_probe_reiserfs 417 268 -149
dev_get_major_minor 175 - -175
uuidcache_check_device 692 499 -193
volume_id_probe_mac_partition_map 697 - -697
------------------------------------------------------------------------------
(add/remove: 2/6 grow/shrink: 8/39 up/down: 326/-2836) Total: -2510 bytes
text data bss dec hex filename
797220 662 7420 805302 c49b6 busybox_old
794244 662 7420 802326 c3e16 busybox_unstripped
2008-03-17 09:21:26 +00:00
Denis Vlasenko
4ee7cd4f6f
*: mode tcp/udpsvd to networking, delete ipsvd/*
...
*/Config.in: fixes to text
svlogd: make it NOMMU capable
function old new delta
processorstart 378 420 +42
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 42/0) Total: 42 bytes
text data bss dec hex filename
797153 662 7420 805235 c4973 busybox_old
797196 662 7420 805278 c499e busybox_unstripped
2008-03-17 09:13:22 +00:00
Denis Vlasenko
b1d8e7db0f
mount: make -f work even without mtab support
...
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
2008-02-16 23:28:42 +00:00
Denis Vlasenko
f1d93ec420
build system: pass CFLAGS to link stage too (closes bug 1376)
2008-02-14 12:24:14 +00:00
Denis Vlasenko
0a4624aece
build system: don't use -o /dev/null, old gcc can delete /dev/null!
2008-02-13 07:47:37 +00:00
Bernhard Reutner-Fischer
a985d306a1
- spelling fixes
2008-02-11 11:44:38 +00:00
Bernhard Reutner-Fischer
afdad653ac
- add eject -s for SCSI- and USB-devices (Nico Erfurth)
2008-02-08 15:04:00 +00:00
Bernhard Reutner-Fischer
c96d37050f
- update defconfig
2008-01-29 09:28:02 +00:00
Paul Fox
518d8dd979
eliminated CONFIG_FEATURE_EDITING_FANCY_KEYS. the size savings
...
was small, compared to the total size of the command-line editing
features, and it removed key bindings that most wouldn't consider
"fancy", like ^U, and 'l' and 'h' in vi mode, ^F and ^B in emacs
mode.
2008-01-18 20:41:24 +00:00
Bernhard Reutner-Fischer
ce34cccf28
- update defconfig
2008-01-13 15:33:13 +00:00
Bernhard Reutner-Fischer
481ce92bdf
- add ipsvd
2008-01-11 20:52:45 +00:00
Denis Vlasenko
3f9c848576
trylink: instead of build error, disable --gc-sections if GLIBC && STATIC
...
nameif: glibc build fixlet
2007-12-28 17:04:42 +00:00
Denis Vlasenko
fcfb5c04bb
defconfig: update
...
appletli.c: add vda's (C)
top: fixlet for incorrect display of "0"
Makefile: reduce stack size from 20k to 16k
2007-12-24 12:16:24 +00:00
Denis Vlasenko
94e3365b8f
perror_nomsg: don't print extra colon
...
losetup: print name of loop device in error messages
2007-12-22 15:44:23 +00:00
Denis Vlasenko
ab801874f8
attack the biggest stack users:
...
-mkfs_minix_main [busybox_unstripped]: 4288
-mkfs_minix_main [busybox_unstripped]: 4276
-grave [busybox_unstripped]: 4260
(bzip2 users too - not listed)
price we pay in code size increase:
mainSort 2458 2515 +57
grave 1005 1058 +53
sendMTFValues 2177 2195 +18
BZ2_blockSort 122 125 +3
mkfs_minix_main 3070 3022 -48
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
2007-12-02 08:35:37 +00:00
Denis Vlasenko
1da0ad13fb
update defconfig
2007-11-23 23:37:19 +00:00
Mike Frysinger
49d15890e0
make output a little more friendly
2007-11-18 06:42:56 +00:00
Mike Frysinger
e13bd362e3
merge from upstream for systems that dont integrate libintl into their C library:
...
commit aa1e5ef5c1d95e7ebf0821d9ba27debe43a87a22
Author: Sam Ravnborg <sam@ravnborg.org>
Date: Sun Aug 12 23:15:44 2007 +0200
kbuild: check if we can link gettext not just compile
cygwin provides the header file but the lib file needs
to be added manually. A generic fix is to check if
we can compile and link a program that uses gettext()
and if it fails fall back to NO_NLS.
International users of cygwin may have to specify
HOST_LOADLIBES := "-lintl" on the make command line.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-11-18 06:17:52 +00:00
Denis Vlasenko
130f559f4d
trylink: accomodate older versions of ld
2007-11-13 17:36:12 +00:00
Denis Vlasenko
15cb4a4272
fix a problem with two different applet_name's
2007-10-11 10:06:26 +00:00
Denis Vlasenko
9b49a5ed85
add -fvisibility=hidden to CC flags, mark XXX_main functions
...
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-11 10:05:36 +00:00
Denis Vlasenko
724d196c75
Move applets/applet.c into libbb, allows to get rid of --whole-archive
...
(smaller code). Tested in static and shared mode.
2007-10-10 14:41:07 +00:00
Denis Vlasenko
141750e388
trylink: s/strip/$STRIP/g
2007-10-10 10:05:35 +00:00
Denis Vlasenko
42e418292d
trylink: trivial cleanup
2007-10-09 18:01:13 +00:00
Denis Vlasenko
01f3b2c91a
trylink: reformat link flags for readability
...
trylink: add --sort-section alignment:
text data bss dec hex filename
- 6557 428 3260 10245 2805 busybox
+ 6555 428 3260 10243 2803 busybox
- 909621 1076 12108 922805 e14b5 libbusybox.so.1.8.0.svn
+ 908868 1050 12016 921934 e114e libbusybox.so.1.8.0.svn
2007-10-09 13:49:26 +00:00