This port allows us to provide updated DRM kernel drivers on FreeBSD 9.3. Kernel modules are suffixed with "_port" compared to the vanilla drivers (eg. i915kms.ko becomes i915kms_port.ko). The device-independent module, renamed as drm2_port.ko, is also included. However, Radeon firmwares are not: the vanilla ones are still being used. xf86-video-ati and xf86-video-intel depends on drm-kmod on FreeBSD 9.3. These ports are modified to automatically load the *_port kernel module. This initial version brings hardware context support to the i915 driver. This feature is required by Mesa 9.2+, which itself is required by xserver 1.15+. Differential Revision: https://reviews.freebsd.org/D2149 Reviewed by: kwm Approved by: kwm Tested by: Florian Degner <f.degner@gmx.de>
32 lines
653 B
Makefile
32 lines
653 B
Makefile
# Created by: Jean-Sebastien Pedron <dumbbell@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= drm-kmod
|
|
DISTVERSION= 9.280208
|
|
CATEGORIES= x11-drivers
|
|
MASTER_SITES= LOCAL/dumbbell
|
|
DISTNAME= drm-${DISTVERSION}
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= FreeBSD 9.3 Kernel DRM driver
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= tar:xz kmod
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
PLIST_FILES= ${KMODDIR}/drm2_port.ko \
|
|
${KMODDIR}/i915kms_port.ko \
|
|
${KMODDIR}/radeonkms_port.ko \
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if (${OSVERSION} < 903000 || ${OSVERSION} > 1000000)
|
|
IGNORE= this port is only for 9.3 systems
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
|
MAKE_ARGS+=" HAVE_DEBUG=YES"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|