summaryrefslogtreecommitdiffhomepage
path: root/Makefile.flags
AgeCommit message (Collapse)Author
2009-08-22preliminary work for gcc 4.4.0Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-03-12the -elf2flt flag can be used w/out -Wl, so drop the requirement so people ↵Mike Frysinger
can use either form
2009-02-18- add flash_eraseallBernhard Reutner-Fischer
This is the result after converting mtd-utils' flash_eraseall to BB. The functionality given by this patch almost the same except that this one does not support long options. I needed this tool a system which does not have a lot of flash for RFS and merging this into BB as the only way out. [bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl function old new delta flash_eraseall_main - 1072 +1072 show_progress - 62 +62 packed_usage 25156 25176 +20 applet_names 1958 1973 +15 applet_main 2352 2360 +8 target_endian - 4 +4 applet_nameofs 588 590 +2 applet_install_loc 147 148 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes [bigeasy@]$ size miscutils/flash_eraseall.o text data bss dec hex filename 1586 4 0 1590 636 miscutils/flash_eraseall.o Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2009-01-22- add CONFIG_EXTRA_CFLAGS (thanks to keesj)Bernhard Reutner-Fischer
This helps with remembering additional flags like e.g. cpu settings for people who did not configured their compiler to produce code for their cpu per default.
2008-08-05- reinstate commented out _FORTIFY_SOURCE that was somehow dropped by Denys?Bernhard Reutner-Fischer
2008-06-12Reinstate DEBUG_PESSIMIZE (by Christian Ionescu-Idbohrn)Denis Vlasenko
2008-06-06Build system: track -Wl,-elf2flt in CFLAGS_busybox too.Denis Vlasenko
Document in comments that it generally should be thers, not in LDFLAGS
2008-06-04remove -fno-jump-tables - after stripping it proved to be worseDenis Vlasenko
2008-06-04build system: add PIE build optionDenis Vlasenko
2008-05-18more -Wall warning fixes. -Wall is enabled now.Denis Vlasenko
2008-05-15Add more -W options to gcc.Denis Vlasenko
2008-05-08build system: do not rebuild entire tree if it is movedDenis Vlasenko
2008-03-17*: add -Wunused-parameter; fix resulting breakageDenis Vlasenko
function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
2007-12-24defconfig: updateDenis Vlasenko
appletli.c: add vda's (C) top: fixlet for incorrect display of "0" Makefile: reduce stack size from 20k to 16k
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-11add -fpic to CC flags when we build libbusybox (14% smaller .so)Denis Vlasenko
2007-10-07reviving libbusybox, adding CONFIG_INDIVIDUAL part 3Denis Vlasenko
2007-10-07reviving libbusybox, adding CONFIG_INDIVIDUAL part 2Denis Vlasenko
2007-08-21login: optional support for PAMDenis Vlasenko
2007-07-17Modify method of linking against libs. Now we fisrt try allDenis Vlasenko
specified libs, and if it succeeds, we try to remove them one-by-one. If link succeeds, then library is thrown out. Should solve the problem with SELinux linking in libsepol even when not needed.
2007-06-21random shrinkage of statics, -60 bytes savedDenis Vlasenko
2007-06-21since we removed the deprecated matches() now and thus not alot of warnings ↵Bernhard Reutner-Fischer
are currently seen, let's strive to fixup these: - warn a little bit about unused results
2007-06-19punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handlingMike Frysinger
2007-06-10moved biggest stack buffers to malloc space, or made their size configurableDenis Vlasenko
(8k of shell line edit buffer is an overkill) # make ARCH=i386 bloatcheck function old new delta read_line_input 3933 3967 +34 ifaddrlist 348 345 -3 do_loadfont 208 191 -17 edit_file 840 819 -21 .rodata 129112 129080 -32 uncompress 1305 1268 -37 loadfont_main 566 495 -71 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 34/-181) Total: -147 bytes
2007-04-05set default FLTFLAGS for a fatty stackMike Frysinger
2007-03-30introduce the concept of LDLIBS for additional libraries so that when we do ↵Mike Frysinger
the final link, the objects/libraries are in the correct order
2007-03-28- reinstate dmalloc and efence supportBernhard Reutner-Fischer
2007-02-06new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Denis Vlasenko
2007-02-01add -Wwrite-strings to MakefileDenis Vlasenko
2007-01-29disable -Wold-style-definition for gcc 3.xDenis Vlasenko
2007-01-27make it possible to build bbox without warnings again.Denis Vlasenko
2007-01-27Make -Werror configurableDenis Vlasenko
2007-01-23- call cc-option to check if the compiler supports the flags we asked to useBernhard Reutner-Fischer
2007-01-22- add more strict prototype checking to catch wrong and broken code (like ↵Bernhard Reutner-Fischer
nested functions)
2007-01-08- guess we need dl tooBernhard Reutner-Fischer
2007-01-08- set LD to ldBernhard Reutner-Fischer
- simplify the cmd_busybox__ a bit and pass the LDFLAGS via -Wl down to CC
2006-12-13- honor CONFIG_DEBUGBernhard Reutner-Fischer
2006-12-06- better distinction between CFLAGS and CPPFLAGS.Bernhard Reutner-Fischer
2006-11-26added gcc flag which is needed for ULLONG_MAX to appearDenis Vlasenko
on Tito's box
2006-11-17add -Wundef, fix uncovered bugsDenis Vlasenko
2006-10-20- remove duplicate flags (-funsigned-char -fno-builtin-strlen)Bernhard Reutner-Fischer
2006-10-11nmeter: new applet. ~4kDenis Vlasenko
Fix build proble on x86_64
2006-10-09build system: fix for non-i386 buildsDenis Vlasenko
2006-10-08correct largefile support, add comments about it.Denis Vlasenko
2006-10-05build system overhaulDenis Vlasenko