From f3c001537a917c1aa01d14e04ae7dbe469fa9d8c Mon Sep 17 00:00:00 2001 From: markj Date: Wed, 5 Feb 2020 20:57:45 +0000 Subject: [PATCH] Define SMP for standalone module builds. Suggested and reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D23519 --- sys/conf/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/config.mk b/sys/conf/config.mk index cc8d7b34edcd..6b405890458e 100644 --- a/sys/conf/config.mk +++ b/sys/conf/config.mk @@ -11,8 +11,9 @@ opt_global.h: touch ${.TARGET} .if ${MACHINE} != "mips" - @echo "#define VIMAGE 1" >> ${.TARGET} + @echo "#define SMP 1" >> ${.TARGET} @echo "#define MAC 1" >> ${.TARGET} + @echo "#define VIMAGE 1" >> ${.TARGET} .endif opt_bpf.h: echo "#define DEV_BPF 1" > ${.TARGET}