mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 17:44:17 +01:00
Put building of drm and drm2 modules behind options.
Make the building of drm dependent on MK_MODULE_DRM and the building of module drm2 on MK_MODULE_DRM2. The defaults are unchanged. Approved by: re@ (gjb) Differential Review: https://reviews.freebsd.org/D16894
This commit is contained in:
parent
fd239e7ff8
commit
c0386fa3af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338347
@ -38,6 +38,8 @@ __DEFAULT_YES_OPTIONS = \
|
||||
IPSEC_SUPPORT \
|
||||
ISCSI \
|
||||
KERNEL_SYMBOLS \
|
||||
MODULE_DRM \
|
||||
MODULE_DRM2 \
|
||||
NETGRAPH \
|
||||
PF \
|
||||
SOURCELESS_HOST \
|
||||
|
@ -583,8 +583,12 @@ _cpuctl= cpuctl
|
||||
_cpufreq= cpufreq
|
||||
_cs= cs
|
||||
_dpms= dpms
|
||||
.if ${MK_MODULE_DRM} != "no"
|
||||
_drm= drm
|
||||
.endif
|
||||
.if ${MK_MODULE_DRM2} != "no"
|
||||
_drm2= drm2
|
||||
.endif
|
||||
_ed= ed
|
||||
_em= em
|
||||
_ena= ena
|
||||
@ -781,7 +785,9 @@ _cardbus= cardbus
|
||||
_cbb= cbb
|
||||
_cfi= cfi
|
||||
_cpufreq= cpufreq
|
||||
.if ${MK_MODULE_DRM} != "no"
|
||||
_drm= drm
|
||||
.endif
|
||||
_exca= exca
|
||||
_ffec= ffec
|
||||
_nvd= nvd
|
||||
@ -791,7 +797,9 @@ _wi= wi
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc64"
|
||||
.if ${MK_MODULE_DRM2} != "no"
|
||||
_drm2= drm2
|
||||
.endif
|
||||
_ipmi= ipmi
|
||||
.endif
|
||||
.if ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc"
|
||||
|
3
tools/build/options/WITHOUT_MODULE_DRM
Normal file
3
tools/build/options/WITHOUT_MODULE_DRM
Normal file
@ -0,0 +1,3 @@
|
||||
.\" $FreeBSD$
|
||||
Disable creation of old drm video modules.
|
||||
|
2
tools/build/options/WITHOUT_MODULE_DRM2
Normal file
2
tools/build/options/WITHOUT_MODULE_DRM2
Normal file
@ -0,0 +1,2 @@
|
||||
.\" $FreeBSD$
|
||||
Disable creation of old drm2 video modules.
|
2
tools/build/options/WITH_MODULE_DRM
Normal file
2
tools/build/options/WITH_MODULE_DRM
Normal file
@ -0,0 +1,2 @@
|
||||
.\" $FreeBSD$
|
||||
Enable creation of old drm video modules.
|
2
tools/build/options/WITH_MODULE_DRM2
Normal file
2
tools/build/options/WITH_MODULE_DRM2
Normal file
@ -0,0 +1,2 @@
|
||||
.\" $FreeBSD$
|
||||
Enable creation of old drm2 video modules.
|
Loading…
Reference in New Issue
Block a user