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
This commit is contained in:
parent
2bac7bb27f
commit
c27718afac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user