]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use MACHINE_CPUARCH when checking for arm64
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 14 Sep 2020 16:12:28 +0000 (16:12 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 14 Sep 2020 16:12:28 +0000 (16:12 +0000)
commit2a6803de1cdbc7e34dfe4dc185a2dd98b9a787fb
treef6626469ce3b843e7fcac56715d1f7347aa60bae
parent5fb8eca8700bbf0047c8d9a4472eb71dca8f6d0c
Use MACHINE_CPUARCH when checking for arm64

Use MACHINE_CPUARCH with arm64 (aarch64) when we build code that could run
on any 64-bit Arm instruction set. This will simplify checks in downstream
consumers targeting prototype instruction sets.

The only place we check for MACHINE_ARCH == aarch64 is when building the
device tree blobs. As these are targeting current generation ISAs.

Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D26370
cddl/lib/libzfs/Makefile
cddl/lib/libzpool/Makefile
lib/libpmc/Makefile
share/mk/bsd.endian.mk
share/mk/bsd.sys.mk
sys/conf/dtb.build.mk
tests/sys/kern/Makefile
usr.bin/gcore/Makefile