31f9a29bee
Submitted by: hps@ MFC after: 2 weeks
33 lines
529 B
Makefile
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>
|