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>
This commit is contained in:
parent
a913c5dd9d
commit
4e650399de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117064
@ -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}; \
|
||||
|
Loading…
Reference in New Issue
Block a user