summaryrefslogtreecommitdiffstats
path: root/usr.sbin/crunch
Commit message (Collapse)AuthorAgeFilesLines
* Use <sys/endian.h> rather than a private verison.obrien2002-12-302-60/+2
| | | | Tested on: sparc64, Athlon[32]
* Bootstrapping aid for 4.0-RELEASE.ru2002-11-131-0/+6
|
* Put author name under .An/Aq.charnier2002-10-161-1/+2
|
* Apply the envp fix to the other call to main() as well.gshapiro2002-08-091-2/+2
| | | | Submitted by: Peter Edwards <pmedwards@eircom.net>
* Pass envp to crunched program's main() routines as some depend on it.gshapiro2002-08-041-2/+4
| | | | | | | | | | | | Note that crunchgen's stub .c programs already have the code to use it: "int _crunched_%s_stub(int argc, char **argv, char **envp)" "{return main(argc,argv,envp);}\" >%s_stub.c\n", Add $FreeBSD$ to allow the commit. Reviewed by: luigi MFC after: 3 days
* mdoc(7) police: markup nit.ru2002-05-301-1/+1
|
* Get all the fruit from makefile.ru2002-05-253-30/+13
|
* Removed dead code.ru2002-05-241-8/+0
|
* Handle endianness. This completes cross-support for sparc64.ru2002-05-242-40/+112
|
* Added support for ia64 and sparc64.ru2002-05-212-0/+10
|
* Make crunchide(1) a cross-tool; needed for cross-arch "make release".ru2002-04-305-7/+17
| | | | Note that a.out is only supported for the non-cross i386 case.
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Use `The .Nm utility'charnier2002-04-202-12/+21
|
* Add a "special progname lib xxx ..." command to crunchgenluigi2002-03-302-2/+23
| | | | | | | | | so the .lo files can be partially linked against libraries which redefine symbols in the standard libs, or which reference symbols in the objects. Submitted by: Sam Leffler MFC After: 3 days
* ia64 support. Hide a.out support solely under i386. While alpha neverpeter2001-10-232-1/+8
| | | | | was released in a.out form, it does define the a.out data structures. The ia64 port does not.
* Make source crunches work as well as object crunches; broken in thejoe2001-08-171-1/+1
| | | | | | last commit that fixed object crunches. Repeat after me, "no excuses for not testing".
* Make crunchgen crunch pre-built object files again, i.e.:joe2001-08-151-10/+10
| | | | | | | | | | progs prog1 special prog1 objdir ../../prog1/obj special prog1 objs prog1.o This fixes a bug that I introduced around the time of 4.2-release. Reported by: Larry Baird <lab@gta.com>
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-2/+6
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-205-9/+13
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+1
|
* Remove whitespace at EOL.dd2001-07-151-6/+6
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-102-2/+2
|
* Use 'LIBS+= ...' instead of 'LIBS= ...' in the generated makefilejoe2001-06-201-1/+1
| | | | | | | | so that the user can override libraries at build time. This is makes it easier to cross-compile crunch builds. Suggested by: luigi MFC after: 3 days
* mount_msdos(8) -> mount_msdosfs(8).ru2001-06-011-1/+1
|
* mount_fdesc -> mount_fdescfsru2001-05-241-2/+2
| | | | mount_portal -> mount_portalfs
* * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-05-021-3/+5
| | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
* Document ``special <progname> ident <identifier>'' command.ru2001-04-041-0/+17
|
* - Call `subclean' after `clean' for each program.ru2001-04-041-2/+2
| | | | - Eliminate compiler warning.
* `buildopts' may affect the selection of object files.ru2001-03-301-1/+1
| | | | | | | Make sure we pass $(BUILDOPTS) to the `clean' target so that `make clean' works on the same set of object files. Otherwise, we may end up with an incorrectly built and up-to-date object file.
* Liberal application of style(9).joe2001-01-101-665/+758
|
* Flag an error and remove the program from the list if there isjoe2001-01-101-1/+4
| | | | | | no source directory or no objects can be determined. Initialise a structure variable.
* Retire kernfs (userland part).des2000-12-281-1/+4
|
* Clean up the source directory finding code, and in the process fix ajoe2000-12-241-16/+24
| | | | problem that occurs when a program's source isn't found.
* Use one of the TMPDIR env variable or _PATH_TMP instead of hardcodingjoe2000-12-171-1/+3
| | | | | | /tmp. Submitted by: jedgar
* Avoid potential problems with the existance of a shadow obj directoryjoe2000-12-171-1/+1
| | | | confusing the 'make -f tmpfile' in the tmpfile, by creating it in /tmp.
* Clarify an ambiguous 'else' introduced by a recent commit.joe2000-12-171-2/+2
|
* o check strdup() return valuesjoe2000-12-171-23/+30
| | | | | | | | | | o strcpy() -> strlcpy() o sprintf() -> snprintf() o mktemp() -> mkstemp() o use err() instead of errx() in out_of_memory() function since errno will probably be set Submitted by: jedgar
* Hopefully the last patch in a series to try and teach crunchgen tojoe2000-12-171-38/+62
| | | | | handle MAKEOBJDIRPREFIX better, in conjunction with the -o and -p flags.
* mdoc(7) police: fixed errors from the previous revision, keepru2000-12-011-17/+21
| | | | the synopsis in a nice form, and a few more cosmetic changes.
* Make crunchgen aware of obj directories. Formerly it hadluigi2000-11-302-31/+59
| | | | | | | | | /usr/obj hardwired in the code, now you can override it with a command line option or MAKEOBJDIRPREFIX env. variable. The above is useful to build picobsd-specific objects in some other place than /usr/obj While at it, fix documentation and change a few sprintf -> snprintf.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-4/+4
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* mdoc(7)ify.ru2000-11-161-114/+181
|
* Add and document a new configuration command: buildopts.joe2000-11-152-3/+28
| | | | | This allows global make options to be specified within the crunch configuration file.
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-102-29/+19
|
* Define a new special type: buildopts.joe2000-11-102-2/+30
| | | | | | | | | | | | This allows build flags to be specified for a particular program from within the crunch.conf file, eg: prog ppp special ppp buildopts -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM This adds '-DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM' to make targets related to ppp when determining which object files to build and when calculating dependencies and building the targets.
* Since the 'when built' phrase is talking about the 'source file' westeve2000-11-091-1/+1
| | | | should be using the word 'creates' instead.
* Cause prog_make targets to include a ``make obj'' rule if the -o flagjoe2000-11-032-6/+13
| | | | | is given to crunchgen. [ This fixes the previous commit which silently added ``make obj'' ]
* A missing feature of crunchgen was the ability to supply make options onjoe2000-11-031-3/+7
| | | | | | | | | | | | | | | | | | a per program basis. This has now been added in the following way: * Harness the make header file that's specified with the -h argument: - Allow the user to define $(OPTS) to specify make arguments that should be added to every program target. - Allow the user to define $(prog_OPTS) to specify make arguments that should just be added to the build of 'prog'. * Make sure that $(OPTS) and $(prog_OPTS) are defined when looking through each program's make file to determine which object files to crunch. * When building the crunchgen makefile add $(OPTS) and $(prog_OPTS) to the depend and build rules for $(prog_OBJS).
* Add the description of some hard-learnt restrictions and a workaround.grog2000-08-281-1/+22
|
OpenPOWER on IntegriCloud