freebsd-dev/sys/modules/drm2/Makefile
Jean-Sébastien Pédron 31f9a29bee drm: Allow parallel builds of drivers and firmwares
Submitted by:	hps@
MFC after:	2 weeks
2015-03-04 20:47:43 +00:00

33 lines
529 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
SUBDIR = \
drm2 \
${_i915kms} \
${_radeonkms} \
${_radeonkmsfw}
.include <bsd.subdir.mk>