Module Name:    src
Committed By:   riastradh
Date:           Thu Apr 13 07:03:32 UTC 2023

Modified Files:
        src/sys/modules: Makefile

Log Message:
sys/modules/Makefile: Use MACHINE_CPU, not MACHINE_ARCH, for aarch64.

This way it covers both little-endian and big-endian.


To generate a diff of this commit:
cvs rdiff -u -r1.276 -r1.277 src/sys/modules/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/modules/Makefile
diff -u src/sys/modules/Makefile:1.276 src/sys/modules/Makefile:1.277
--- src/sys/modules/Makefile:1.276	Tue Apr 11 10:30:41 2023
+++ src/sys/modules/Makefile	Thu Apr 13 07:03:31 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.276 2023/04/11 10:30:41 riastradh Exp $
+#	$NetBSD: Makefile,v 1.277 2023/04/13 07:03:31 riastradh Exp $
 
 .include <bsd.own.mk>
 
@@ -351,7 +351,7 @@ SUBDIR+=	viadrmums
 
 .if ${MACHINE_ARCH} == "i386" || \
     ${MACHINE_ARCH} == "x86_64" || \
-    ${MACHINE_ARCH} == "aarch64"
+    ${MACHINE_CPU} == "aarch64"
 SUBDIR+=	amdgpu
 SUBDIR+=	drmkms
 SUBDIR+=	drmkms_linux

Reply via email to