summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-06-30 05:59:35 +0000
committergordon <gordon@FreeBSD.org>2003-06-30 05:59:35 +0000
commit1bc17506c3eafae5475a4e9742976c0126d661b4 (patch)
tree82c646a7b0f12ec397f26b7078dfb6bb90a9f537
parent623b392ac55c474e07f872f37b734074f8e53cfc (diff)
downloadFreeBSD-src-1bc17506c3eafae5475a4e9742976c0126d661b4.zip
FreeBSD-src-1bc17506c3eafae5475a4e9742976c0126d661b4.tar.gz
Do the deed and hookup /rescue to the build. As a result, always build
crunchgen and crunchide as cross-tools. Submitted by: Tim Kientzle <kientzle@acm.org>
-rw-r--r--Makefile.inc111
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 26367ab..ced79ee 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -50,6 +50,10 @@ SUBDIR+= include
SUBDIR+= lib
.endif
+.if exists(${.CURDIR}/rescue) && !defined(NO_RESCUE)
+SUBDIR+= rescue
+.endif
+
.if exists(${.CURDIR}/bin)
SUBDIR+= bin
.endif
@@ -732,15 +736,12 @@ _kgzip= usr.sbin/kgzip
_elf2aout= usr.bin/elf2aout
.endif
-.if defined(RELEASEDIR)
-_crunchide= usr.sbin/crunch/crunchide
-.endif
-
_xlint= usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint
cross-tools:
.for _tool in ${_btxld} ${_elf2aout} ${_elf2exe} \
- gnu/usr.bin/binutils ${_crunchide} \
+ gnu/usr.bin/binutils \
+ usr.sbin/crunch/crunchgen usr.sbin/crunch/crunchide \
gnu/usr.bin/cc ${_xlint} ${_kgzip}
@${ECHODIR} "===> ${_tool}"; \
cd ${.CURDIR}/${_tool}; \
OpenPOWER on IntegriCloud