diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2009-11-12 23:48:22 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2009-11-12 23:48:22 +0000 |
commit | 6b924aa4a6d6f1b000cd9448f12362249632c129 (patch) | |
tree | c1d77dab6b2a310611f34009d518cb8304e0e930 /Tools | |
parent | 9cecc370773de8c53106e137f94424471dd01ef9 (diff) |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/makeworld | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Tools/portbuild/scripts/makeworld b/Tools/portbuild/scripts/makeworld index 4260efa15a4c..30275ace8bee 100755 --- a/Tools/portbuild/scripts/makeworld +++ b/Tools/portbuild/scripts/makeworld @@ -26,6 +26,12 @@ export TARGET_ARCH=${arch} # Workaround needed for zfs - 20090321 erwin export NO_FSCHG=1 +# experimental: uncomment these 4 to test with clang +#export WITH_CLANG=1 +#export NO_WERROR=1 +#export WERROR=1 +#export WITH_CLANG_IS_CC=1 + case "$branch" in 6*) export SRCBRANCH="-r RELENG_6" @@ -82,19 +88,19 @@ echo "==> Starting make buildworld" make buildworld ${args} || exit $? echo "==> Cleaning up chroot" -rm -rf /var/chroot/ -chflags -R noschg /var/chroot/ -rm -rf /var/chroot/ -mkdir /var/chroot/ +rm -rf ${worlddir}/ +chflags -R noschg ${worlddir}/ +rm -rf ${worlddir}/ +mkdir ${worlddir}/ echo "==> Starting make installworld" if [ "$client" = "0" ]; then export NEWSPARC_TIMETYPE=__int64_t - make installworld DESTDIR=/var/chroot || exit $? + make installworld DESTDIR=${worlddir} || exit $? echo "==> Starting make distribute" - make DESTDIR=/var/chroot distrib-dirs && \ - make DESTDIR=/var/chroot distribution || exit $? + make DESTDIR=${worlddir} distrib-dirs && \ + make DESTDIR=${worlddir} distribution || exit $? else echo "==> Not doing installworld of client source tree" |