aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-13 03:40:20 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-13 03:40:20 +0000
commit7e69da3672fcc7c098dd3d1ba8c91287c24adc87 (patch)
treea34eade47f73b16ddadc1f4d2e5ca2e02b208198 /Tools
parent2982df6210b85bd3e7209bb0801900a4b5ad441a (diff)
downloadports-7e69da3672fcc7c098dd3d1ba8c91287c24adc87.tar.gz
ports-7e69da3672fcc7c098dd3d1ba8c91287c24adc87.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/mkbindist11
1 files changed, 6 insertions, 5 deletions
diff --git a/Tools/portbuild/scripts/mkbindist b/Tools/portbuild/scripts/mkbindist
index e7cf397d5a77..48c49b14651d 100755
--- a/Tools/portbuild/scripts/mkbindist
+++ b/Tools/portbuild/scripts/mkbindist
@@ -91,14 +91,15 @@ mount localhost:${here}/src ${tmpdir}/usr/src
sleep 5 # XXX !!!
# Cater to different build locations of 4.x and 5.x
-if [ -d ${here}/src/sys/i386/compile ]; then
- chroot ${tmpdir} sh -c "cd /usr/src/sys/i386/conf && config ${kernel} && cd /sys/i386/compile/${kernel} && make depend -DNO_MODULES && make all install -DNO_MODULES"
-else
- chroot ${tmpdir} sh -c "cd /usr/src/sys/i386/conf && config ${kernel} && cd /sys/compile/${kernel} && make depend -DNO_MODULES && make all install -DNO_MODULES"
-fi
+#if [ -d ${here}/src/sys/i386/compile ]; then
+# chroot ${tmpdir} sh -c "cd /usr/src/sys/i386/conf && config ${kernel} && cd /sys/i386/compile/${kernel} && make depend -DNO_MODULES && make all install -DNO_MODULES"
+#else
+# chroot ${tmpdir} sh -c "cd /usr/src/sys/i386/conf && config ${kernel} && cd /sys/compile/${kernel} && make depend -DNO_MODULES && make all install -DNO_MODULES"
+#fi
#chroot ${tmpdir} sh -c "cd /usr/src/sys/boot && make obj && make depend && make all install"
umount -f ${tmpdir}/usr/src
+ln -sf ${tmpdir}/kernel.GENERIC ${tmpdir}/kernel
rm -rf ${tmpdir}/kernel.old ${tmpdir}/modules.old ${tmpdir}/boot/kernel.old
# Rebuild device nodes. Again, this was probably intended