e6c59cd5c0
This update brings few features: o Support for the setmaster/dropmaster ioctls. For instance, they are used to run multiple X servers simultaneously. o Support for minor devices. The only user-visible change is a new entry in /dev/dri but it is useless at the moment. This is a first step to support render nodes [1]. The main benefit is to greatly reduce the diff with Linux (at the expense of an unreadable commit diff). Hopefully, next upgrades will be easier. No updates were made to the drivers, beside adapting them to API changes. [1] https://en.wikipedia.org/wiki/Direct_Rendering_Manager#Render_nodes Tested by: Many people MFC after: 1 month Relnotes: yes
40 lines
665 B
Makefile
40 lines
665 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${.CURDIR}/../..
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.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
|
|
|
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
|
_radeonkms= radeonkms
|
|
. if ${MK_SOURCELESS_UCODE} != "no"
|
|
_radeonkmsfw= radeonkmsfw
|
|
. endif
|
|
.endif
|
|
|
|
SUBDIR = \
|
|
drm2 \
|
|
${_i915kms} \
|
|
${_radeonkms} \
|
|
${_radeonkmsfw}
|
|
|
|
.include <bsd.subdir.mk>
|