diff options
author | gordon <gordon@FreeBSD.org> | 2003-07-11 16:57:43 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-07-11 16:57:43 +0000 |
commit | b8965224321b4e547f9e9cac1e562c5a047807fe (patch) | |
tree | 7686eae13c230c65ecd216874d5b8342079cd99c /Makefile.inc1 | |
parent | 60d66be3df201defa3698697ada13d4014552891 (diff) | |
download | FreeBSD-src-b8965224321b4e547f9e9cac1e562c5a047807fe.zip FreeBSD-src-b8965224321b4e547f9e9cac1e562c5a047807fe.tar.gz |
Turn rescue back on, conditional to NORESCUE. We seem to be split on
using underscores or not, so I just randomly picked a style. I think
I have the logic correct, but if someone wants to give it a once over
that would be good.
Tim submitted a patch to fix the cross-building issues which I tested
with a tinderbox run for sparc64.
Submitted by: Tim Kientzle <kientzle@acm.org>
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 7bdba41..2080bc1 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -8,6 +8,7 @@ # -DNOCRYPT will prevent building of crypt versions # -DNOMAN do not build the manual pages # -DNOPROFILE do not build profiled libraries +# -DNORESCUE do not build rescue binaries # -DNOGAMES do not go into games subdir # -DNOSHARE do not go into share subdir # -DNOINFO do not make or install info files @@ -66,7 +67,7 @@ SUBDIR+= kerberos5 .if exists(${.CURDIR}/libexec) SUBDIR+= libexec .endif -.if exists(${.CURDIR}/rescue) && defined(RESCUE) +.if exists(${.CURDIR}/rescue) && !defined(NORESCUE) SUBDIR+= rescue .endif .if exists(${.CURDIR}/sbin) @@ -667,7 +668,7 @@ _xargs= usr.bin/xargs _yacc= usr.bin/yacc .endif -.if defined(RESCUE) && \ +.if !defined(NORESCUE) && \ ${BOOTSTRAPPING} < 501100 _crunchgen= usr.sbin/crunch/crunchgen .endif @@ -725,6 +726,7 @@ build-tools: .for _tool in \ bin/csh \ bin/sh \ + rescue/rescue \ gnu/usr.bin/cc/cc_tools \ ${_fortran} \ ${_libkrb5} \ @@ -752,7 +754,7 @@ _elf2aout= usr.bin/elf2aout _btxld= usr.sbin/btxld .endif -.if (defined(RESCUE) || \ +.if (!defined(NORESCUE) || \ defined(RELEASEDIR)) && \ ( ${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING} < 501101 ) _crunchide= usr.sbin/crunch/crunchide |