Digging up my old "make standalone" stuff from a year ago:
authorRob Landley <rob@landley.net>
Fri, 4 Aug 2006 21:05:33 +0000 (21:05 -0000)
committerRob Landley <rob@landley.net>
Fri, 4 Aug 2006 21:05:33 +0000 (21:05 -0000)
commitcb376eebf096964d300706a21451a5cfd9c5b31a
treee7aa7b112f6213b6d3796a968523f01087aabe67
parente6a3fef08c87c4755eb2ad1460b3ac0e9a411461
Digging up my old "make standalone" stuff from a year ago:
http://busybox.net/lists/busybox/2005-September/015766.html

I renamed it "individual" to not confuse it with the standalone shell.  (Which
it isn't compatible with for obvious reasons.)  Configure busybox (I did
make defconfig), then run scripts/individual and it'll build an individual
version of each applet in the "build" subdirectory.

Currently it builds 146 and fails to build 104 applets out of "make defconfig".
I haven't taught it about multi-file applets yet (like tar), or the ones where
two applets get built from the same source (for example, zcat is a trivial
variant of gunzip so there is no zcat.c).  But here's a start.
applets/individual.c [new file with mode: 0644]
scripts/individual [new file with mode: 0755]