config.mk: #define MAC as well

MAC is also almost universally a default; every GENERIC includes it, and
it's std.armv[67]. mips is again the oddball here with it only being
included in ERL/OCTEON1.

The only module currently working around this one is mac_veriexec, but it
looks like nothing it builds actually uses the MAC definition. Downstream
consumers enabling MAC in mips using mac_veriexec may be advised to do
something differently here in config.mk.
This commit is contained in:
Kyle Evans 2020-01-29 22:40:13 +00:00
parent 037d75302e
commit 7df58aa857
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357274

View File

@ -12,6 +12,7 @@ opt_global.h:
touch ${.TARGET}
.if ${MACHINE} != "mips"
@echo "#define VIMAGE 1" >> ${.TARGET}
@echo "#define MAC 1" >> ${.TARGET}
.endif
opt_bpf.h:
echo "#define DEV_BPF 1" > ${.TARGET}