mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
sys/modules/Makefile: conditionally add MAC/veriexec modules
Only build MAC/veriexec modules when MK_VERIEXEC is yes or we are building all modules. Add VERIEXEC knob to kernel __DEFAULT_NO_OPTIONS Reviewed by: sjg Obtained from: Juniper Networks, Inc.
This commit is contained in:
parent
2e6a433811
commit
894bcc876d
@ -62,7 +62,8 @@ __DEFAULT_NO_OPTIONS = \
|
||||
INIT_ALL_ZERO \
|
||||
KERNEL_RETPOLINE \
|
||||
RATELIMIT \
|
||||
REPRODUCIBLE_BUILD
|
||||
REPRODUCIBLE_BUILD \
|
||||
VERIEXEC
|
||||
|
||||
# Some options are totally broken on some architectures. We disable
|
||||
# them. If you need to enable them on an experimental basis, you
|
||||
|
@ -588,12 +588,14 @@ _mac_priority= mac_priority
|
||||
_mac_seeotheruids= mac_seeotheruids
|
||||
_mac_stub= mac_stub
|
||||
_mac_test= mac_test
|
||||
.if ${MK_VERIEXEC} != "no" || defined(ALL_MODULES)
|
||||
_mac_veriexec= mac_veriexec
|
||||
_mac_veriexec_sha1= mac_veriexec_sha1
|
||||
_mac_veriexec_sha256= mac_veriexec_sha256
|
||||
_mac_veriexec_sha384= mac_veriexec_sha384
|
||||
_mac_veriexec_sha512= mac_veriexec_sha512
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
|
||||
_netgraph= netgraph
|
||||
|
Loading…
Reference in New Issue
Block a user