More stuff.

This commit is contained in:
Eric Andersen 1999-10-22 19:49:09 +00:00
parent 9922c833ca
commit a07f0b0408
3 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,6 @@
0.32 0.32
* usage() now printf the BusyBox version. This will help folks
realize that they are not in Kansas anymore.
* Fixed mkdir -m option so that it works. * Fixed mkdir -m option so that it works.
0.31 0.31

View File

@ -44,7 +44,7 @@ ifndef $(prefix)
endif endif
BINDIR=$(prefix) BINDIR=$(prefix)
LIBRARIES=-lc LIBRARIES=
OBJECTS=$(shell ./busybox.sh) OBJECTS=$(shell ./busybox.sh)
CFLAGS+= -DBB_VER='"$(VERSION)"' CFLAGS+= -DBB_VER='"$(VERSION)"'
CFLAGS+= -DBB_BT='"$(BUILDTIME)"' CFLAGS+= -DBB_BT='"$(BUILDTIME)"'

View File

@ -39,6 +39,7 @@
/* volatile so gcc knows this is the enod of the line */ /* volatile so gcc knows this is the enod of the line */
volatile void usage(const char *usage) volatile void usage(const char *usage)
{ {
fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n", BB_VER, BB_BT);
fprintf(stderr, "Usage: %s\n", usage); fprintf(stderr, "Usage: %s\n", usage);
exit(FALSE); exit(FALSE);
} }