mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Make sure that $_MARCH and friends exist
Submitted by: nyan@
This commit is contained in:
parent
cfaacd7f0f
commit
dfd569ede5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144561
@ -162,10 +162,14 @@ copies:
|
||||
${DESTDIR}${INCLUDEDIR}/machine/pc
|
||||
.endif
|
||||
.if defined(_MARCH)
|
||||
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||
cd ${.CURDIR}/../sys/${_MARCH}/include; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}
|
||||
.if exists(${.CURDIR}/../sys/${_MARCH}/include/pc)
|
||||
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||
cd ${.CURDIR}/../sys/${_MARCH}/include/pc; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc
|
||||
@ -240,12 +244,16 @@ symlinks:
|
||||
done
|
||||
.endif
|
||||
.if defined(_MARCH)
|
||||
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||
cd ${.CURDIR}/../sys/${_MARCH}/include; \
|
||||
for h in *.h; do \
|
||||
ln -fs ../../../sys/${_MARCH}/include/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||
done
|
||||
.if exists(${.CURDIR}/../sys/${_MARCH}/include/pc)
|
||||
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||
cd ${.CURDIR}/../sys/${_MARCH}/include/pc; \
|
||||
for h in *.h; do \
|
||||
ln -fs ../../../../sys/${_MARCH}/include/pc/$$h \
|
||||
|
Loading…
Reference in New Issue
Block a user