svn commit: r357274 - head/sys/conf
Kyle Evans
kevans at FreeBSD.org
Wed Jan 29 22:40:14 UTC 2020
Author: kevans
Date: Wed Jan 29 22:40:13 2020
New Revision: 357274
URL: https://svnweb.freebsd.org/changeset/base/357274
Log:
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.
Modified:
head/sys/conf/config.mk
Modified: head/sys/conf/config.mk
==============================================================================
--- head/sys/conf/config.mk Wed Jan 29 22:37:01 2020 (r357273)
+++ head/sys/conf/config.mk Wed Jan 29 22:40:13 2020 (r357274)
@@ -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}
More information about the svn-src-head
mailing list