Denis Vlasenko
7d219aab70
build system overhaul
2006-10-05 10:17:08 +00:00
Denis Vlasenko
fe54458e46
runit/chpst: "change process state" utility
...
It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
2006-10-03 15:57:40 +00:00
Bernhard Reutner-Fischer
73561cc75a
- pull from busybox_scratch: r15829:15850
...
Various fixes, cleanups and shrinkage:
saves 952 Bytes:
text data bss dec hex filename
1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old
1086790 15853 790632 1893275 1ce39b busybox
via:
# scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped
function old new delta
ipcrm_main 756 822 +66
getval - 61 +61
maybe_set_utc - 40 +40
udhcpc_main 2896 2912 +16
md5_hash_block 428 437 +9
opt 8 16 +8
qgravechar 106 110 +4
make_bitmap 292 295 +3
inflate_unzip 2056 2059 +3
add_partition 1412 1414 +2
__parsespent 156 158 +2
qrealloc 41 42 +1
format - 1 +1
catv_main 313 314 +1
watch_main 293 292 -1
varunset 81 80 -1
part 1 - -1
check_if_skip 837 836 -1
start_stop_daemon_main 840 837 -3
create_lost_and_found 175 172 -3
supress_non_delimited_lines 4 - -4
static.l 4 - -4
static.c 5 1 -4
bsd_sum_file 237 233 -4
eval2 338 332 -6
arithmetic_common 166 158 -8
cmpfunc 22 5 -17
cksum_main 294 275 -19
cmp_main 465 439 -26
dd_main 1535 1508 -27
rmmod_main 376 333 -43
cut_file 727 644 -83
ipcs_main 3809 3721 -88
cut_main 722 614 -108
date_main 1443 1263 -180
remove_ids 222 - -222
------------------------------------------------------------------------------
(add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
2006-08-28 23:31:54 +00:00
Bernhard Reutner-Fischer
82ac9ecfe5
- pgf(?) found and fixed that missing dependency (usage: .config, IIRC), so remove the now unneeded NOTPARALLEL clause
2006-08-28 13:29:41 +00:00
Rob Landley
e6a3fef08c
Add busybox_old to distclean.
2006-08-04 20:39:56 +00:00
Rob Landley
91dc086d63
Switch off CONFIG_NITPICK in defconfig. (Kind of the point of CONFIG_NITPICK.)
2006-07-30 18:56:29 +00:00
Rob Landley
1f9145c5c3
More minor tweaks.
2006-07-12 21:31:16 +00:00
Paul Fox
e3324502a5
fix dependencies so that compressed usage gets rebuilt if
...
a) include/usage.h is changed, and
b) after "make clean".
2006-07-06 20:00:43 +00:00
Bernhard Reutner-Fischer
273430aa8d
- Pull r15593:
...
Rename to CROSS_COMPILE and move its configuration to .config.mak. (Shaun Jackman)
2006-07-04 08:26:55 +00:00
Bernhard Reutner-Fischer
fa61ca7591
- add cross-reference generation target.
...
Experimental.
2006-06-16 17:19:39 +00:00
Bernhard Reutner-Fischer
42f091a761
- let the scripts be prerequisites of the files the generate
...
- make sure that bbconfig isn't too stupid
2006-06-15 21:35:35 +00:00
Rob Landley
1dea55d577
Fix from Paul Fox to make compressed help text notice config changes.
2006-06-13 14:37:14 +00:00
Bernhard Reutner-Fischer
7b8ff22685
- make VERBOSE= and V= work equally; use BUILD_VERBOSE internally.
...
- move the link flags to cmd_link* so they are printed when requesting verbose output
2006-06-13 14:20:17 +00:00
Bernhard Reutner-Fischer
e5de38497a
- don't check for toolchain-setting for make targets that don't need them
...
- we already depend on sed, so do away with tr. Avoids pulling in yet another
dependency.
2006-06-10 14:58:33 +00:00
Rob Landley
0fbe7ddbdd
Put the ending quote on the help entry...
2006-05-28 01:40:26 +00:00
Rob Landley
d9872aa0d7
Consolidate the .PHONY targets and add "make baseline" for bloatcheck.
2006-05-27 21:24:16 +00:00
Bernhard Reutner-Fischer
e28d1d6fdc
- add target hosttools (see make help)
...
- rename check_gcc to check_cc and pass the CC to use as arg#1; peruse check_cc for HOSTCFLAGS
- add and use check_strip
- add checks for {,no-}whole-archive and {start,end}-group LD flags
2006-05-26 13:22:57 +00:00
Bernhard Reutner-Fischer
4148afe049
- fix wrong path to scripts/usage; It is in the builddir and not in the srcdir.
...
- flag .depend as .NOTPARALLEL to workaround bug in make-3.80 and make-3.81
Some more details on the second workaround (i.e. kludge):
make-3.80 silently fails, while make-3.81 is at least self-conscious enough to
admit:
include/usage_compressed.h: .config scripts/usage
# Implicit rule search has not been done.
# File does not exist.
# File has not been updated.
# Dependencies commands running (THIS IS A BUG).
# commands to execute (from `/home/cow/src/bb2/Makefile', line 430):
$(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_builddir)/scripts" > $@
I'm giving up on trying to run the rest of the prerequisites of .depend in
parallel and just (try to) indicate that the prerequisites of .depend are
not to be run in parallel.
While this makes `make distclean defconfig;make -j´ work for me, it is not a
real -- longterm -- solution; FIXME
2006-05-21 15:05:49 +00:00
Bernhard Reutner-Fischer
3c8c0690fd
- there is no _usage.h anymore, so don't rm it in distclean.
2006-05-21 10:04:46 +00:00
Bernhard Reutner-Fischer
30ead9a9b9
- do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not set
2006-05-21 09:02:12 +00:00
Bernhard Reutner-Fischer
1a5eb46820
- there is no "sh". Use $(SHELL)
2006-05-21 08:25:45 +00:00
Bernhard Reutner-Fischer
d8e87a09d1
- forgot to make busybox_unstripped depend on the applets in IMA mode.
2006-05-19 18:37:34 +00:00
Bernhard Reutner-Fischer
351c832d75
- redirect stdout of scripts/config/conf to /nil for
...
allyesconfig, allnoconfig, defconfig, allbareconfig
- fix invalid call to "make"; use $(MAKE) instead.
2006-05-19 18:33:34 +00:00
Rob Landley
0690d1591f
Tabs weren't lining up in the help text.
2006-05-11 17:33:10 +00:00
Mike Frysinger
59e46117b1
clean more files
2006-05-10 05:19:27 +00:00
Bernhard Reutner-Fischer
2431830018
- fix bug in make help introduced by landley in r15022:
...
Development:
bloatcheck - show size difference between busybox_unstripped
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [help] Error 2
make: *** [help] Error 2
2006-05-09 11:29:56 +00:00
Rob Landley
92d8b35594
Make bloatcheck work when building out of tree.
2006-05-08 20:48:12 +00:00
Mike Frysinger
1b4e1dae71
re-enable udhcp in a few more places
2006-05-08 03:24:36 +00:00
Rob Landley
f8a8084267
Add "make bloatcheck" to run Matt Mackall's bloat-o-meter. Copy an old
...
busybox_unstripped to busybox_old, build a new version, and "make bloatcheck"
to see a detailed breakdown of the size difference.
2006-05-07 19:26:53 +00:00
Rob Landley
3958e0a151
Busybox's udhcp was deleted a while ago. Bolting an external project onto the
...
tree doesn't change that.
2006-05-05 18:20:42 +00:00
Bernhard Reutner-Fischer
3916b2a560
- add script to check for missing help entries of config options
...
Currently we have these errors:
./modutils/Config.in: No helptext for 'CONFIG_FEATURE_QUERY_MODULE_INTERFACE'
./networking/Config.in: No helptext for 'CONFIG_IPADDR'
./networking/Config.in: No helptext for 'CONFIG_IPLINK'
./networking/Config.in: No helptext for 'CONFIG_IPROUTE'
./networking/Config.in: No helptext for 'CONFIG_IPTUNNEL'
./coreutils/Config.in: No helptext for 'CONFIG_UNIX2DOS'
2006-05-04 11:38:33 +00:00
Mike Frysinger
12ef09b818
compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and usage
2006-04-29 04:19:10 +00:00
Mike Frysinger
fe6bb3853c
use pretty output for scripts/bb_mkdep and scripts/usage
2006-04-29 04:12:36 +00:00
Rob Landley
7e21d5f6b1
Patch from Dennis Vlasenko to add the option to compress help text.
2006-04-27 23:34:46 +00:00
Bernhard Reutner-Fischer
06a81d368e
- patch from Denis Vlasenko to make sizes PHONY and to add objsizes which prints
...
the sizes of the individual object files.
2006-04-26 10:10:25 +00:00
Mike Frysinger
586ea61284
2006-04-20 Shaun Jackman <sjackman@gmail.com>
...
* Makefile: Build a bFLT binary.
* Rules.mak: Ditto.
2006-04-21 01:18:07 +00:00
Bernhard Reutner-Fischer
2b398bec9c
- make sure that we see all lib*/.c in IMA-mode even when not building the .so
2006-04-03 21:16:52 +00:00
Rob Landley
786988faf7
Tweak allbareconfig not to pause.
2006-03-22 15:24:24 +00:00
Eric Andersen
a6db0eef59
Willy Tarreau writes:
...
I encountered a little typo in 'make help' : the prefix was
noted "$prefix" instead of "$(PREFIX)".
2006-03-20 17:50:08 +00:00
Bernhard Reutner-Fischer
a25d83b282
- remove superfluous dependency which was fixed in r14527
2006-03-13 19:30:06 +00:00
Bernhard Reutner-Fischer
df10094870
- revert back to r14406
2006-03-13 19:04:00 +00:00
Rob Landley
19808fea76
"make help" should not build the configurator first.
2006-03-13 03:19:46 +00:00
Rob Landley
9dc6913896
Fix "rm .config;make menuconfig" to work like "rm .config; make" (I.E. do
...
defconfig first), and group busybox administrative settings into a sub-menu.
2006-03-13 02:52:23 +00:00
Rob Landley
31e3610c4b
Cleanup from Paul Fox. One find piped to xargs is faster/simpler than
...
lots of finds doing individual -exec rm.
2006-03-09 22:01:05 +00:00
Bernhard Reutner-Fischer
07a79e75f5
- backout using features which are not available with the previous stable
...
version of make (3.71.1).
2006-03-09 09:03:37 +00:00
Bernhard Reutner-Fischer
a59721166a
- work around missing features and bugs in make-3.79.1:
...
- no order-only prerequisites; incomplete workaround (see comment in diff)
- no internal variable MAKEFILE_LIST; workaround
- define bar\nfoo:=<long-list> doesn't work; workaround
also:
- reinstate clean, distclean as noconfig_target.
- unconditionally clean libbusybox.so*
2006-03-06 14:19:15 +00:00
Mike Frysinger
56ee779074
clean *.osm as pointed out by Robert P. J. Day
2006-03-05 18:04:23 +00:00
Mike Frysinger
33b45a09a1
clean busybox_unstripped as pointed out by Robert P. J. Day
2006-03-05 16:25:19 +00:00
Bernhard Reutner-Fischer
7ad83b4e2c
- ar cruP doesn't replace ('r') but unconditionally _adds_ all objects.
...
landley, that one broke your tar-testing (see below).
To see the issue i was talking about in the comment to rev. 14431, remove the
'P' from ARFLAGS in Rules.mak, then recompile.
You will see undefined references to these symbols:
iplink_main
iproute_main
iptunnel_main
login_main
run_parts_main
These are due to the fact that these applets (named e.g. login.o) clash with
libbb/login.o, for example. So ar sees that we're going to add login.o
(the applet!) and does so. Later on, we add libbb/login.o (just the basename
is used, so login.o). and this libbb/login.o *replaces* the login.o (the
applet!).
I therefor want (you) to rename abovementioned files from libbb to have
a prefix bb_ (e.g. svn mv libbb/login.c libbb/bb_login.c) to avoid these
clashed.
ok?
TIA,
2006-03-03 14:19:15 +00:00
Bernhard Reutner-Fischer
e3ec99de82
- remove unused lists *-m
2006-03-02 18:23:13 +00:00