mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 01:07:21 +01:00
include/i386: fix release builds
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
This commit is contained in:
parent
1575804961
commit
1a2ff852e3
@ -20,4 +20,12 @@ INCS+= \
|
|||||||
pcpu_aux.h
|
pcpu_aux.h
|
||||||
INCSDIR= ${INCLUDEDIR}/i386
|
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>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user