]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use MACHINE_CPUARCH when checking for arm64
authorandrew <andrew@FreeBSD.org>
Mon, 14 Sep 2020 16:12:28 +0000 (16:12 +0000)
committerandrew <andrew@FreeBSD.org>
Mon, 14 Sep 2020 16:12:28 +0000 (16:12 +0000)
commitf7cda306d2e63762f667c0d20dcc7ad67856de8c
treef6626469ce3b843e7fcac56715d1f7347aa60bae
parent1b83fc561690086dedc94ce81276b314c037be2b
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