summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2022-07-20 01:11:39 +0000
committerriastradh <riastradh@NetBSD.org>2022-07-20 01:11:39 +0000
commitbdbfbd797b6f041d34eda0bb71b8089e09140d46 (patch)
treea6477730a86d48595e0f1c3220c166f3a6ad087e /sys/modules
parent29dc78d38eb8e81a903443952b1da1305eea5769 (diff)
drm: Undefine `alpha' in the module build too.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/drmkms/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/drmkms/Makefile.inc b/sys/modules/drmkms/Makefile.inc
index 483cdff9db7..5dbf1bac388 100644
--- a/sys/modules/drmkms/Makefile.inc
+++ b/sys/modules/drmkms/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.8 2022/07/17 15:05:09 riastradh Exp $
+# $NetBSD: Makefile.inc,v 1.9 2022/07/20 01:11:39 riastradh Exp $
# Common makefile cruft for drm2 code.
@@ -31,6 +31,8 @@ CPPFLAGS+= -DCONFIG_X86_PAT
CPPFLAGS+= -DCONFIG_ARM
.elif ${MACHINE_ARCH} == "aarch64"
CPPFLAGS+= -DCONFIG_ARM64
+.elif ${MACHINE_ARCH} == "alpha"
+CPPFLAGS+= -Ualpha
.endif
CPPFLAGS+= -DCONFIG_BACKLIGHT_CLASS_DEVICE=0