diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-05-13 03:40:20 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-05-13 03:40:20 +0000 |
commit | 7e69da3672fcc7c098dd3d1ba8c91287c24adc87 (patch) | |
tree | a34eade47f73b16ddadc1f4d2e5ca2e02b208198 | |
parent | 2982df6210b85bd3e7209bb0801900a4b5ad441a (diff) | |
download | ports-7e69da3672fcc7c098dd3d1ba8c91287c24adc87.tar.gz ports-7e69da3672fcc7c098dd3d1ba8c91287c24adc87.zip |
Notes
-rwxr-xr-x | Tools/portbuild/scripts/mkbindist | 11 |
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 |