mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 00:13:04 +01:00
Fix world breakage (kdump, truss) causes by rev 1.107 (adding dev/usb).
It was creating ${.OBJDIR}/${MACHINE}/usr/include/dev -> .../sys/dev and mkioctls would descend that and saw *all* of src/sys/dev/*/*.h, not just dev/usb/*.h. It then choked on the dpt includes.
This commit is contained in:
parent
19af50ad2f
commit
400dc95012
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56645
@ -116,9 +116,16 @@ copies:
|
||||
|
||||
symlinks:
|
||||
@${ECHO} "Setting up symlinks to kernel source tree..."
|
||||
.for i in ${LDIRS} ${LNOHEADERDIRS}
|
||||
.for i in ${LDIRS}
|
||||
rm -rf ${DESTDIR}/usr/include/$i
|
||||
ln -s ../../sys/$i ${DESTDIR}/usr/include/$i
|
||||
.endfor
|
||||
.for i in ${LNOHEADERDIRS}
|
||||
rm -rf ${DESTDIR}/usr/include/$i
|
||||
mkdir ${DESTDIR}/usr/include/$i
|
||||
.endfor
|
||||
.for i in ${LSUBDIRS}
|
||||
ln -s ../../../sys/$i ${DESTDIR}/usr/include/$i
|
||||
.endfor
|
||||
rm -rf ${DESTDIR}/usr/include/machine
|
||||
ln -s ../../sys/${MACHINE_ARCH}/include ${DESTDIR}/usr/include/machine
|
||||
|
Loading…
Reference in New Issue
Block a user