summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-03-26 17:51:11 +0000
committeremaste <emaste@FreeBSD.org>2015-03-26 17:51:11 +0000
commitad6d8839caf6d44539148038cb049498061660e3 (patch)
treee700d5503319e49af7977cfad71e2724aef2a02e
parent6414d2bba420ab8e40bb150d1ac37850558957e6 (diff)
downloadFreeBSD-src-ad6d8839caf6d44539148038cb049498061660e3.zip
FreeBSD-src-ad6d8839caf6d44539148038cb049498061660e3.tar.gz
MFC r270572: drm/i915: Disable the build of i915 on PC98
This module is of no use on this platform.
-rw-r--r--sys/modules/drm2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/drm2/Makefile b/sys/modules/drm2/Makefile
index 62414db..abbe80f 100644
--- a/sys/modules/drm2/Makefile
+++ b/sys/modules/drm2/Makefile
@@ -3,6 +3,7 @@
.include <bsd.own.mk>
.if ${MACHINE_CPUARCH} == "amd64"
+_i915kms= i915kms
_radeonkms= radeonkms
. if ${MK_SOURCELESS_UCODE} != "no"
_radeonkmsfw= radeonkmsfw
@@ -11,6 +12,7 @@ _radeonkmsfw= radeonkmsfw
.if ${MACHINE_CPUARCH} == "i386"
. if ${MACHINE} != "pc98"
+_i915kms= i915kms
_radeonkms= radeonkms
. if ${MK_SOURCELESS_UCODE} != "no"
_radeonkmsfw= radeonkmsfw
@@ -20,7 +22,7 @@ _radeonkmsfw= radeonkmsfw
SUBDIR = \
drm2 \
- i915kms \
+ ${_i915kms} \
${_radeonkms} \
${_radeonkmsfw}
OpenPOWER on IntegriCloud