mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use BINUTILS_BOOTSTRAP knob for binutils only
Previously it also disabled building elftoolchain bootstrap tools such as strip(1). Differential Revision: https://reviews.freebsd.org/D1398 Reviewed by: imp Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
149ae064ad
commit
7d612a433e
1 changed files with 3 additions and 1 deletions
|
|
@ -1440,8 +1440,10 @@ _kgzip= usr.sbin/kgzip
|
|||
.endif
|
||||
|
||||
# If we're given an XAS, don't build binutils.
|
||||
.if ${XAS:M/*} == "" && ${MK_BINUTILS_BOOTSTRAP} != "no"
|
||||
.if ${XAS:M/*} == ""
|
||||
.if ${MK_BINUTILS_BOOTSTRAP} != "no"
|
||||
_binutils= gnu/usr.bin/binutils
|
||||
.endif
|
||||
.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
|
||||
_elftctools= lib/libelftc \
|
||||
usr.bin/addr2line \
|
||||
|
|
|
|||
Loading…
Reference in a new issue