mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
Add a target to ensure the presence of /usr/include/i386
before we try to install files. In the buildworld/installworld path
it gets created different ways, but for distribute (used in releases)
we need it in the subdir.
(Creating of this the x86, pc, powerpc directories is far too complex.
We should look for ways to simplify it.)
Reported by: lwhsu
Fixes: a09ea2bbc3
31 lines
533 B
Makefile
31 lines
533 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
|
|
|
|
beforeinstall: i386dir
|
|
META_TARGETS+= i386dir
|
|
|
|
i386dir:
|
|
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
${DESTDIR}${INCLUDEDIR}/i386
|
|
|
|
|
|
.include <bsd.prog.mk>
|