mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
tinderbox/universe: Only show arm64 warning if it was in the TARGETS list.
This was a flaw in my change in r287903 but also in the original change in r282156 since it used empty(${TARGETS}) rather than empty(TARGETS). Reported by: lidl Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
3ea2c169b4
commit
d97607185a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301938
4
Makefile
4
Makefile
@ -418,9 +418,9 @@ TARGET_ARCHES_pc98?= i386
|
||||
TARGET_ARCHES_${target}?= ${target}
|
||||
.endfor
|
||||
|
||||
# XXX Add arm64 to universe only if we have an external binutils installed.
|
||||
# XXX Remove arm64 from universe if the required binutils package is missing.
|
||||
# It does not build with the in-tree linker.
|
||||
.if !exists(/usr/local/aarch64-freebsd/bin/ld) && empty(${TARGETS})
|
||||
.if !exists(/usr/local/aarch64-freebsd/bin/ld) && ${TARGETS:Marm64}
|
||||
_UNIVERSE_TARGETS:= ${_UNIVERSE_TARGETS:Narm64}
|
||||
universe: universe_arm64_skip .PHONY
|
||||
universe_epilogue: universe_arm64_skip .PHONY
|
||||
|
Loading…
Reference in New Issue
Block a user