| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Tested on: sparc64, Athlon[32]
|
| |
|
| |
|
|
|
|
| |
Submitted by: Peter Edwards <pmedwards@eircom.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Note that a.out is only supported for the non-cross i386 case.
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
was released in a.out form, it does define the a.out data structures.
The ia64 port does not.
|
|
|
|
|
|
| |
last commit that fixed object crunches.
Repeat after me, "no excuses for not testing".
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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_portal -> mount_portalfs
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
- Eliminate compiler warning.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
no source directory or no objects can be determined.
Initialise a structure variable.
|
| |
|
|
|
|
| |
problem that occurs when a program's source isn't found.
|
|
|
|
|
|
| |
/tmp.
Submitted by: jedgar
|
|
|
|
| |
confusing the 'make -f tmpfile' in the tmpfile, by creating it in /tmp.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
handle MAKEOBJDIRPREFIX better, in conjunction with the -o and -p
flags.
|
|
|
|
| |
the synopsis in a nice form, and a few more cosmetic changes.
|
|
|
|
|
|
|
|
|
| |
/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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This allows global make options to be specified within the crunch
configuration file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
should be using the word 'creates' instead.
|
|
|
|
|
| |
is given to crunchgen.
[ This fixes the previous commit which silently added ``make obj'' ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|