aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-08-09Another whack at scripts/individual. Now builds 212 applets.Rob Landley
2006-08-09Update usage to talk about the new shared subtree stuff in mount.Rob Landley
2006-08-09Vladimir Dronnikov convinced me to twiddle the semantics of the new sharedRob Landley
subtree stuff to look more like http://lwn.net/Articles/159077/ thinks they should.
2006-08-08Fix a typo (|| instead of |) and remove two comments about a problem fixedRob Landley
in the previous patch.
2006-08-08Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley
few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems...
2006-08-08Using lstat() instead of stat() means that attempting to loopback mountRob Landley
a symlink doesn't work.
2006-08-06Make a warning go away on 64-bit systems.Rob Landley
2006-08-06Teach md5sum and sha1sum to work the way other applets do so I don't have toRob Landley
teach scripts/individual new tricks. And while I'm at it, teach scripts/individual other new tricks. Now builds 198 applets, some of which I should teach it to hardlink together because they're really the same app...
2006-08-05scripts/individual now builds 171 applets. Some of them may even work. :)Rob Landley
2006-08-04There are a number of reasons for reinventing printf(). Writing status toRob Landley
stdout is not one of them.
2006-08-04We haven't got a CONFIG_APT_GET.Rob Landley
2006-08-04Digging up my old "make standalone" stuff from a year ago:Rob Landley
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.
2006-08-04Add busybox_old to distclean.Rob Landley
2006-08-04Add comments to all the functions in this file documenting what they're for.Rob Landley
2006-08-04Ok, that's not a typo, that's just me not thinking.Rob Landley
2006-08-04Typo.Rob Landley
2006-08-04Now that we have xopen3(), it's just plain unclean to have xopen() withRob Landley
O_CREAT. Two users are still doing it (and thus getting permissions 777), I'm not sure what permissions they should be using but here they are changed to xopen3(). This costs us a dozen or so bytes, but removing the 777 from xopen() should get some of that back.
2006-08-04Use xopen3() instead of an after-the-fact chown.Rob Landley
2006-08-04Thinko spotted by Vladimir Dronnikov.Rob Landley
2006-08-03Try to make a "type-punned pointer" warning go away for somebody on theRob Landley
buildroot list.
2006-08-03Patch from tito to improve options parsing.Rob Landley
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley
were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
2006-08-03These should have been part of 15767 too.Rob Landley
2006-08-03Fix umount so loop device disassociation hopefully doesn't screw up errno onRob Landley
a failed mount. And while I'm at it, legacy mdev removal was only being done in the _failure_ case? That can't be right. Plus minor header cleanups and an option parsing tweak.
2006-08-03Attempt to fixup httpd.c to match svn 15767.Rob Landley
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-08-03Remove apparent typo in "bool" line."Robert P. J. Day"
2006-08-03Move declaration to be compatible with older gcc's."Robert P. J. Day"
2006-08-01Make a gcc 4.1 warning go away.Rob Landley
2006-07-31Announce 1.2.1Rob Landley
2006-07-311) ifeq is make syntax, #ifeq is a make comment.Rob Landley
2) The check_cc macros should probably all have the same number of arguments. 3) Move the -Werror into the gcc 4.0 on i386 test, because gcc 4.1 is broken and produces warnings for things that provably aren't incorrect. In other news it would be nice if our check_ld macro actually did something, and why does or makefile do all the check_cc calls, then call itself as if it's building out of tree, then do all the check_cc calls again?
2006-07-31Remove code that can't be reached.Rob Landley
2006-07-31Tito said that strings is a complete rewrite.Rob Landley
2006-07-30Switch off CONFIG_NITPICK in defconfig. (Kind of the point of CONFIG_NITPICK.)Rob Landley
2006-07-27Add back in non-ifdef version of FEATURE_PRETTY_PRINT, and get the attributionRob Landley
right this time.
2006-07-27And now, with a for loop, so it can handle the nested USE() case.Rob Landley
2006-07-27There's no excuse for adding new #ifdefs to the code like that. None at all.Rob Landley
2006-07-27I touched perl. I feel dirty.Rob Landley
Make autodocifier suck less. It still doesn't handle nested USE( USE() ) case (the inner USE() winds up in the output), but making it recursive involves getting perl to accept a "for" loop and it's telling me that "break" is an unrecognized bareword and I hate perl. This is at least an improvement.
2006-07-27allow people to display dmesg output without syslog levelsMike Frysinger
2006-07-27eat gremlinsMike Frysinger
2006-07-27de-cuddle if( to if (Mike Frysinger
2006-07-26Rich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smallerRob Landley
fix than his, and shrank the code a bit on top of that so the net size is smaller, and added a test to the test suite for this case. Plus I cleaned up the #includes and removed unnecessary "const"s while I was there.
2006-07-26Patch from Shaun Jackman, set optind by hand if we don't call getopt.Rob Landley
2006-07-26Unbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, IRob Landley
already have that one, but it moves up the list...)
2006-07-25Somebody on the buildroot list hit:Rob Landley
insmod.c:515:10: extra tokens at end of #ident directive
2006-07-24get rid of udhcp submenuMike Frysinger
2006-07-20move lchown/chown define out of specific files and into platform.h where it ↵Mike Frysinger
belongs
2006-07-20"formated" -> "formatted" throughout the code base."Robert P. J. Day"
2006-07-20Patch from Yann Morin to fix bug 941, underscores in module aliases.Rob Landley
2006-07-19Remove unnecessary consts.Rob Landley