freebsd-dev/sys/modules/drm/Makefile
Robert Millan 4a47892c81 Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disable
kernel modules that include binary-only code.

More fine-grained control is provided via MK_SOURCELESS_HOST (for native code
that runs on host CPU) and MK_SOURCELESS_UCODE (for microcode).

Reviewed by:	julian, delphij, freebsd-arch
Approved by:	kib (mentor)
MFC after:	2 weeks
2012-02-04 00:54:43 +00:00

27 lines
369 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
# Modules that include binary-only blobs of microcode should be selectable by
# MK_SOURCELESS_UCODE option (see below).
SUBDIR = \
drm \
i915 \
mach64 \
${_mga} \
${_r128} \
${_radeon} \
savage \
sis \
tdfx \
via
.if ${MK_SOURCELESS_UCODE} != "no"
_mga= mga
_r128= r128
_radeon= radeon
.endif
.include <bsd.subdir.mk>