Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules sys/modules/Makefile: Use MACHINE_CPU, not MACHI...



details:   https://anonhg.NetBSD.org/src/rev/95d3bb202231
branches:  trunk
changeset: 374247:95d3bb202231
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Apr 13 07:03:31 2023 +0000

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

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

diffstat:

 sys/modules/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6cc10547f570 -r 95d3bb202231 sys/modules/Makefile
--- a/sys/modules/Makefile      Thu Apr 13 06:39:23 2023 +0000
+++ b/sys/modules/Makefile      Thu Apr 13 07:03:31 2023 +0000
@@ -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



Home | Main Index | Thread Index | Old Index