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: Narrow scope of drm CPPLAGS j...
details: https://anonhg.NetBSD.org/src/rev/faeb76fa0fbf
branches: trunk
changeset: 368570:faeb76fa0fbf
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jul 19 23:19:17 2022 +0000
description:
drm: Narrow scope of drm CPPLAGS just to drm files.
No need for various Linux compat definitions elsewhere in the kernel.
diffstat:
sys/external/bsd/drm2/drm/files.drmkms | 44 +++++++++++++++++-----------------
1 files changed, 22 insertions(+), 22 deletions(-)
diffs (69 lines):
diff -r bb5bd29b225b -r faeb76fa0fbf sys/external/bsd/drm2/drm/files.drmkms
--- a/sys/external/bsd/drm2/drm/files.drmkms Tue Jul 19 23:19:06 2022 +0000
+++ b/sys/external/bsd/drm2/drm/files.drmkms Tue Jul 19 23:19:17 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.drmkms,v 1.75 2022/07/19 23:19:06 riastradh Exp $
+# $NetBSD: files.drmkms,v 1.76 2022/07/19 23:19:17 riastradh Exp $
version 20180827
@@ -17,38 +17,38 @@
makeoptions drmkms "COPTS.drmkms"+="-fwrapv"
# Overrides first.
-makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/include"
-makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/include/drm"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-I$S/external/bsd/drm2/include"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-I$S/external/bsd/drm2/include/drm"
-makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/common/include"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-I$S/external/bsd/common/include"
# Then upstream.
-makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/include"
-makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/include/drm"
-makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/include/uapi"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-I$S/external/bsd/drm2/dist/include"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-I$S/external/bsd/drm2/dist/include/drm"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-I$S/external/bsd/drm2/dist/include/uapi"
-makeoptions drmkms CPPFLAGS+="-D__KERNEL__"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-D__KERNEL__"
ifdef i386
-makeoptions drmkms CPPFLAGS+="-DCONFIG_X86"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_X86_PAT"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_X86"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_X86_PAT"
elifdef amd64
-makeoptions drmkms CPPFLAGS+="-DCONFIG_X86"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_X86_64"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_X86_PAT"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_X86"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_X86_64"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_X86_PAT"
elifdef arm
-makeoptions drmkms CPPFLAGS+="-DCONFIG_ARM"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_ARM"
elifdef aarch64
-makeoptions drmkms CPPFLAGS+="-DCONFIG_ARM64"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_ARM64"
endif
-makeoptions drmkms CPPFLAGS+="-DCONFIG_BACKLIGHT_CLASS_DEVICE=0"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_BACKLIGHT_CLASS_DEVICE_MODULE=0"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_DRM_FBDEV_EMULATION=1"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_DRM_FBDEV_OVERALLOC=100"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_FB=0"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_LOCKDEP=0"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_PCI=1"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_BACKLIGHT_CLASS_DEVICE=0"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_BACKLIGHT_CLASS_DEVICE_MODULE=0"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_DRM_FBDEV_EMULATION=1"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_DRM_FBDEV_OVERALLOC=100"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_FB=0"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_LOCKDEP=0"
+makeoptions drmkms "CPPFLAGS.drmkms"+="-DCONFIG_PCI=1"
makeoptions drmkms "CWARNFLAGS.drmkms"+="-Wno-missing-field-initializers"
Home |
Main Index |
Thread Index |
Old Index