svn commit: r221265 - head/sys/conf
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Apr 30 17:51:39 UTC 2011
Author: bz
Date: Sat Apr 30 17:51:39 2011
New Revision: 221265
URL: http://svn.freebsd.org/changeset/base/221265
Log:
Allow MKMODULESENV being preset from other sources like makeoptions
kernel configurations to apply WITH_* WITHOUT_* knobs we use for
module building as well to restrict or control opt_*.h flags.
Reviewed by: imp, +
Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems
MFC after: 2 weeks
Modified:
head/sys/conf/kern.pre.mk
Modified: head/sys/conf/kern.pre.mk
==============================================================================
--- head/sys/conf/kern.pre.mk Sat Apr 30 16:30:18 2011 (r221264)
+++ head/sys/conf/kern.pre.mk Sat Apr 30 17:51:39 2011 (r221265)
@@ -149,7 +149,7 @@ SYSTEM_DEP+= ${LDSCRIPT}
# MKMODULESENV is set here so that port makefiles can augment
# them.
-MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
+MKMODULESENV+= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
MKMODULESENV+= MACHINE_CPUARCH=${MACHINE_CPUARCH}
.if (${KERN_IDENT} == LINT)
MKMODULESENV+= ALL_MODULES=LINT
More information about the svn-src-all
mailing list