Pass MACHINE and MACHINE_ARCH down into the modules

This commit is contained in:
Warner Losh 2014-02-04 05:35:04 +00:00
parent 5f384f7c36
commit ff24815a4a

View File

@ -183,6 +183,7 @@ SYSTEM_DEP+= ${LDSCRIPT}
MKMODULESENV+= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
MKMODULESENV+= MACHINE_CPUARCH=${MACHINE_CPUARCH}
MKMODULESENV+= MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH}
.if (${KERN_IDENT} == LINT)
MKMODULESENV+= ALL_MODULES=LINT
.endif