summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-26 17:12:09 +0000
committerpeter <peter@FreeBSD.org>2000-01-26 17:12:09 +0000
commit7f0f3f3358cb677678d87b86362d6b702edff737 (patch)
tree0653789d749b891f6d60f4e4fb850803f9c68de0
parent31506fd155813955bd7e6fd1a1b162db6511044b (diff)
downloadFreeBSD-src-7f0f3f3358cb677678d87b86362d6b702edff737.zip
FreeBSD-src-7f0f3f3358cb677678d87b86362d6b702edff737.tar.gz
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.
-rw-r--r--include/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index 1116df8..e2c27e2 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -116,10 +116,17 @@ 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
OpenPOWER on IntegriCloud