| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
makefiles (for use with picobsd among other things).
See the manpage for details, but:
* -h makefile-include-name
can be used to specify a file to include in the makefiles
generated by crunchgen . This is a good place to specify make
variables such as RELEASE_CRUNCH, NOTHIS, NOTHAT and the like.
* special progname objvar variable_name
in the crunch config file declares a different variable than
OBJS to be used to get the list of objects.
* crunchgen now looks first for Makefile.<progname> in the current
directory to override the makefile in <progname> source dir.
This in many cases avoids the need to patch the original makefile
if the above two features are still not enough.
Approved-By: jordan
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
|
|
|
| |
to build on the alpha, first off.
|
| |
|
|
|
|
| |
Submitted by: jhay
|
|
|
|
| |
Submitted by: jhay
|
| |
|
|
|
|
|
|
| |
not return the "real" path.
This makes it possible to have the .o files put in the /usr/obj
hierachy instead of in the /usr/src one.
|