diff options
| author | riastradh <riastradh@NetBSD.org> | 2022-07-20 01:11:39 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2022-07-20 01:11:39 +0000 |
| commit | bdbfbd797b6f041d34eda0bb71b8089e09140d46 (patch) | |
| tree | a6477730a86d48595e0f1c3220c166f3a6ad087e /sys/modules | |
| parent | 29dc78d38eb8e81a903443952b1da1305eea5769 (diff) | |
drm: Undefine `alpha' in the module build too.
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/drmkms/Makefile.inc | 4 |
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 |
