Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/drm drm: Undefine `alpha' in CPPFLAGS....



details:   https://anonhg.NetBSD.org/src/rev/3743bcc676dc
branches:  trunk
changeset: 368572:3743bcc676dc
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Jul 19 23:19:35 2022 +0000

description:
drm: Undefine `alpha' in CPPFLAGS.  Causes lotsa trouble!

But don't undefine it outside drmkms; `#ifdef alpha' or equivalent is
used elsewhere in-tree.  (Maybe it should be replaced by __alpha__.)

diffstat:

 sys/external/bsd/drm2/drm/files.drmkms |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r af891cd6320c -r 3743bcc676dc sys/external/bsd/drm2/drm/files.drmkms
--- a/sys/external/bsd/drm2/drm/files.drmkms    Tue Jul 19 23:19:27 2022 +0000
+++ b/sys/external/bsd/drm2/drm/files.drmkms    Tue Jul 19 23:19:35 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.drmkms,v 1.76 2022/07/19 23:19:17 riastradh Exp $
+#      $NetBSD: files.drmkms,v 1.77 2022/07/19 23:19:35 riastradh Exp $
 
 version        20180827
 
@@ -40,6 +40,8 @@
 makeoptions    drmkms  "CPPFLAGS.drmkms"+="-DCONFIG_ARM"
 elifdef aarch64
 makeoptions    drmkms  "CPPFLAGS.drmkms"+="-DCONFIG_ARM64"
+elifdef alpha
+makeoptions    drmkms  "CPPFLAGS.drmkms"+="-Ualpha"
 endif
 
 makeoptions    drmkms  "CPPFLAGS.drmkms"+="-DCONFIG_BACKLIGHT_CLASS_DEVICE=0"



Home | Main Index | Thread Index | Old Index