freebsd-dev/sys/modules/drm2/Makefile
Bryan Drewery 64bd42622a Build all of sys/modules with SUBDIR_PARALLEL.
Sponsored by:	EMC / Isilon Storage Division
MFC after:	3 weeks
2015-11-10 17:15:36 +00:00

38 lines
647 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
.if ${MACHINE_CPUARCH} == "powerpc"
_radeonkms= radeonkms
. if ${MK_SOURCELESS_UCODE} != "no"
_radeonkmsfw= radeonkmsfw
. endif
.endif
SUBDIR = \
drm2 \
${_i915kms} \
${_radeonkms} \
${_radeonkmsfw}
.include <bsd.subdir.mk>