diff options
author | jmmv <jmmv@pkgsrc.org> | 2002-12-28 14:58:31 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2002-12-28 14:58:31 +0000 |
commit | fad8adc322436dfe5c1a1eeaf0c3cafb481ae56b (patch) | |
tree | d373eed596e10d35e43c33a79150cb9495ed9f3d /sysutils/sysbuild/files | |
parent | e2f70f199552f375e188cba00ab578d4f845d1cc (diff) | |
download | pkgsrc-fad8adc322436dfe5c1a1eeaf0c3cafb481ae56b.tar.gz |
Update sysbuild to 1.7:
- Set DESTDIR properly while building toolchain.
- Create HOMEDIR if not exists when copying the sample configuration file
(by the config target).
Diffstat (limited to 'sysutils/sysbuild/files')
-rw-r--r-- | sysutils/sysbuild/files/sysbuild.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/sysbuild/files/sysbuild.sh b/sysutils/sysbuild/files/sysbuild.sh index 53dab1fe410..c4bfbf44b67 100644 --- a/sysutils/sysbuild/files/sysbuild.sh +++ b/sysutils/sysbuild/files/sysbuild.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: sysbuild.sh,v 1.7 2002/12/19 12:55:57 jmmv Exp $ +# $NetBSD: sysbuild.sh,v 1.8 2002/12/28 14:58:32 jmmv Exp $ # # sysbuild - Automatic NetBSD system builds # Copyright (c) 2002, Julio Merino <jmmv@netbsd.org> @@ -360,7 +360,7 @@ sysbuild_build_tools() { printf "Building tools (toolchain):" cd $SRCDIR rm -rf $BUILDDIR/tools/* - BSDSRCDIR=$SRCDIR BSDOBJDIR=$BUILDDIR/obj OBJMACHINE=yes MKOBJDIRS=yes ./build.sh -T $BUILDDIR/tools -t >> $_log 2>&1 + BSDSRCDIR=$SRCDIR BSDOBJDIR=$BUILDDIR/obj OBJMACHINE=yes MKOBJDIRS=yes ./build.sh -T $BUILDDIR/tools -t -D $BUILDDIR/root >> $_log 2>&1 if [ $? -ne 0 ]; then echo " failed." else @@ -544,6 +544,10 @@ sysbuild_init() { sysbuild_config() { check_root + if [ ! -d "@SYSBUILD_HOMEDIR@" ]; then + mkdir -p @SYSBUILD_HOMEDIR@ + fi + _conf="$1" if [ -z "$_conf" ]; then _conf="default" |