On Sun, Nov 11, 2018 at 10:24:28PM +0100, Maxime Villard wrote:
> It's not complicated, we just want /usr/lib/libnvmm*, and nothing else. Just
> like libx86_64.

In src/lib/libarch/x86_64/Makefile.inc:

.if (${MACHINE_ARCH} == "x86_64" && ${MLIBDIR:Unone} != "i386")
SRCS+=  x86_64_mtrr.c x86_64_iopl.c
.endif


The MLIBDIR is the (unfortunately undocumented in share/mk/bsd.README)
key, it will iterate over all compat lib types (AFAICT). See
compat/README.

Martin

Reply via email to