Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2020 22:40:14 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357274 - head/sys/conf
Message-ID:  <202001292240.00TMeEFh038507@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001292240.00TMeEFh038507>