9900a2bb5e
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
28 lines
489 B
Makefile
28 lines
489 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?=${SRCTOP}/sys
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
|
|
_i915kms= i915kms
|
|
_radeonkms= radeonkms
|
|
. if ${MK_SOURCELESS_UCODE} != "no"
|
|
_radeonkmsfw= radeonkmsfw
|
|
. 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>
|