Install the i386 md_var.h under /usr/include/i386 on amd64 and include when targeting i386. This is a mostly kernel-only header required by procstat's ZFS support. It is pulled in by the i386 machine/counter.h. Reviewed by: jhb, imp
24 lines
379 B
Makefile
24 lines
379 B
Makefile
# i386 headers installed on amd64
|
|
|
|
.PATH: ${SRCTOP}/sys/i386/include
|
|
INCS= \
|
|
asm.h \
|
|
asmacros.h \
|
|
atomic.h \
|
|
cpufunc.h \
|
|
pmap.h \
|
|
proc.h \
|
|
profile.h \
|
|
segments.h \
|
|
vmparam.h
|
|
# These kernel-only headers are used by procstat's ZFS support.
|
|
# This should be fixed.
|
|
INCS+= \
|
|
counter.h \
|
|
md_var.h \
|
|
pcpu.h \
|
|
pcpu_aux.h
|
|
INCSDIR= ${INCLUDEDIR}/i386
|
|
|
|
.include <bsd.prog.mk>
|