Pass MACHINE and MACHINE_ARCH down into the modules
This commit is contained in:
parent
5f384f7c36
commit
ff24815a4a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user