]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Post process the crunch1.mk file to allow make arguments to passed on
authorjoe <joe@FreeBSD.org>
Thu, 2 Nov 2000 13:16:43 +0000 (13:16 +0000)
committerjoe <joe@FreeBSD.org>
Thu, 2 Nov 2000 13:16:43 +0000 (13:16 +0000)
commit8791fdf5767180f03dfa89458fe9026b0c5082fe
tree6ad57aef121710a9fcc19bda5e086c4dd131667c
parent04cb3e1100ceb2aa24acb1b990a64aea32216db7
Post process the crunch1.mk file to allow make arguments to passed on
a per program basis allowing a greater control on what is built.

The buildopts file contains Makefile lines of form:

# Anything added to OPTS is added to every build rule.
OPTS= -DNOPAM

# These should only be added to the build of user-ppp.
ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID \
-DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH

Really these should be added to crunch.inc, but that file is currently
optional, and if defined masks the global one.  Next step will be to move
these global settings back out into the individual builds as OPTS, and
then migrate OPTS and prog_OPTS back into the local crunch.inc file.
release/picobsd/build/Makefile.crunch
release/picobsd/build/munge_crunchmk.pl [new file with mode: 0755]
release/picobsd/net/crunch1/buildopts.inc [new file with mode: 0644]