freebsd-dev/sys/modules/drm2/Makefile
Jean-Sébastien Pédron 42782caf9b 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@
2014-08-25 14:58:36 +00:00

31 lines
511 B
Makefile

# $FreeBSD$
SYSDIR?=${.CURDIR}/../..
.include "${SYSDIR}/conf/kern.opts.mk"
.if ${MACHINE_CPUARCH} == "amd64"
_i915kms= i915kms
_radeonkms= radeonkms
. if ${MK_SOURCELESS_UCODE} != "no"
_radeonkmsfw= radeonkmsfw
. endif
.endif
.if ${MACHINE_CPUARCH} == "i386"
. if ${MACHINE} != "pc98"
_i915kms= i915kms
_radeonkms= radeonkms
. if ${MK_SOURCELESS_UCODE} != "no"
_radeonkmsfw= radeonkmsfw
. endif
. endif
.endif
SUBDIR = \
drm2 \
${_i915kms} \
${_radeonkms} \
${_radeonkmsfw}
.include <bsd.subdir.mk>