Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/drmkms drm: Undefine `alpha' in the module build...



details:   https://anonhg.NetBSD.org/src/rev/e41deaddd3b6
branches:  trunk
changeset: 368574:e41deaddd3b6
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 20 01:11:39 2022 +0000

description:
drm: Undefine `alpha' in the module build too.

diffstat:

 sys/modules/drmkms/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 5567784810f8 -r e41deaddd3b6 sys/modules/drmkms/Makefile.inc
--- a/sys/modules/drmkms/Makefile.inc   Tue Jul 19 23:19:44 2022 +0000
+++ b/sys/modules/drmkms/Makefile.inc   Wed Jul 20 01:11:39 2022 +0000
@@ -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_ARM
 .elif ${MACHINE_ARCH} == "aarch64"
 CPPFLAGS+=     -DCONFIG_ARM64
+.elif ${MACHINE_ARCH} == "alpha"
+CPPFLAGS+=     -Ualpha
 .endif
 
 CPPFLAGS+=     -DCONFIG_BACKLIGHT_CLASS_DEVICE=0



Home | Main Index | Thread Index | Old Index