aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2014-08-25 14:58:36 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2014-08-25 14:58:36 +0000
commit42782caf9b658cf49069bd9b091d1fc92fc1eddc (patch)
treeb37a58e26b864e0a9d6c7a1e26a3b7d57764bcf0
parent762582f0607c8febc472286426394605a6d890a6 (diff)
downloadsrc-42782caf9b658cf49069bd9b091d1fc92fc1eddc.tar.gz
src-42782caf9b658cf49069bd9b091d1fc92fc1eddc.zip
drm/i915: Disable the build of i915 on PC98
This module is of no use on this platform and now, i915 depends on ACPI anyway. Suggested by: nyan@
Notes
Notes: svn path=/head/; revision=270572
-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 a04b3e25a23a..6f1ee9b50580 100644
--- a/sys/modules/drm2/Makefile
+++ b/sys/modules/drm2/Makefile
@@ -4,6 +4,7 @@ SYSDIR?=${.CURDIR}/../..
.include "${SYSDIR}/conf/kern.opts.mk"
.if ${MACHINE_CPUARCH} == "amd64"
+_i915kms= i915kms
_radeonkms= radeonkms
. if ${MK_SOURCELESS_UCODE} != "no"
_radeonkmsfw= radeonkmsfw
@@ -12,6 +13,7 @@ _radeonkmsfw= radeonkmsfw
.if ${MACHINE_CPUARCH} == "i386"
. if ${MACHINE} != "pc98"
+_i915kms= i915kms
_radeonkms= radeonkms
. if ${MK_SOURCELESS_UCODE} != "no"
_radeonkmsfw= radeonkmsfw
@@ -21,7 +23,7 @@ _radeonkmsfw= radeonkmsfw
SUBDIR = \
drm2 \
- i915kms \
+ ${_i915kms} \
${_radeonkms} \
${_radeonkmsfw}