[PATCH] make sizes is a .PHONY; add make modsizes target
Denis Vlasenko
vda at ilport.com.ua
Wed Apr 26 09:39:44 UTC 2006
If file "sizes" exists, make sizes may fail:
# make sizes >sizes; head -10 sizes
make[1]: `sizes' is up to date.
Fixed:
# make sizes >sizes; head -10 sizes
nm --size-sort busybox_unstripped
00000001 t askpass_timeout
00000001 b base
00000001 b c.1
00000001 b com_fl
00000001 b completed.1
00000001 b del_fl
00000001 d delim
00000001 b do_continue
00000001 b erase_char
Patch also adds 'make modsizes':
# make modsizes
text+data text+rodata rwdata bss filename
0 0 0 0 init/init_shared.o
0 0 0 0 libbb/bb_common_bufsiz1.o
0 0 0 0 libbb/bb_pwd.o
0 0 0 0 libbb/llist.o
0 0 0 0 libbb/messages.o
0 0 0 0 libbb/opendir.o
0 0 0 0 libbb/printf.o
0 0 0 0 libbb/vdprintf.o
0 0 0 0 libbb/vfork_daemon_rexec.o
0 0 0 0 libbb/xfuncs.o
0 0 0 0 libbb/xgetularg.o
1 1 0 0 archival/libunarchive/header_skip.o
3 3 0 0 coreutils/true.o
4 0 4 0 libbb/default_error_retval.o
6 6 0 0 coreutils/false.o
7 7 0 0 libbb/perror_nomsg_and_die.o
9 9 0 0 libbb/perror_nomsg.o
10 10 0 0 libbb/mtab_file.o
13 13 0 0 libbb/shell_file.o
14 14 0 0 libbb/bb_dev_null.o
14 14 0 0 libbb/motd_file.o
14 14 0 0 libbb/unknown.o
...
24470 23306 1164 13360 shell/msh.o
26770 26766 4 904 miscutils/hdparm.o
45844 45600 244 1856 shell/ash.o
49597 49565 32 11388 util-linux/fdisk.o
55434 55158 276 4468 scripts/config/zconf.tab.o
64654 64654 0 12 applets/applets.o
Please apply
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modsizes.patch
Type: text/x-diff
Size: 1355 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060426/9be7bc4d/attachment.bin
More information about the busybox
mailing list