During the build-sets target, sysbuild directly calls `make sets' inside

distrib/sets. This call requires TOOLDIR to be set accordingly so that
make can find sysbuild compiled tools. Reported by Sergio Jiménez (sjr at
hispabsd dot org).

Also add a note in the manpage telling the user to use ?= in his mk.conf,
so that sysbuild can override the values there (specially for things like
TOOLDIR).

Bump version to 1.1.
This commit is contained in:
jmmv 2002-11-30 15:50:16 +00:00
parent c7a2c08d66
commit d6833f77dc
3 changed files with 15 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1.1.1 2002/11/28 19:57:28 jmmv Exp $
# $NetBSD: Makefile,v 1.2 2002/11/30 15:50:16 jmmv Exp $
#
DISTNAME= sysbuild-1.0
DISTNAME= sysbuild-1.1
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty

View file

@ -1,4 +1,4 @@
.\" $NetBSD: sysbuild.8,v 1.1.1.1 2002/11/28 19:57:29 jmmv Exp $
.\" $NetBSD: sysbuild.8,v 1.2 2002/11/30 15:50:17 jmmv Exp $
.\"
.\" sysbuild - Automatic NetBSD system builds
.\" Copyright (c) 2002, Julio Merino <jmmv@netbsd.org>
@ -420,6 +420,16 @@ This program will only work in
and above.
Some targets may work in previous versions, but do not expect it to
work fine.
.Pp
If you are changing some of the default directories in your
.Pa /etc/mk.conf ,
be sure to use the
.Ql ?=
operator instead of
.Ql =
so
.Nm
can override their value.
.Sh AUTHORS
.An Julio Merino Aq jmmv@netbsd.org
.Sh TO DO

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: sysbuild.sh,v 1.1.1.1 2002/11/28 19:57:29 jmmv Exp $
# $NetBSD: sysbuild.sh,v 1.2 2002/11/30 15:50:17 jmmv Exp $
#
# sysbuild - Automatic NetBSD system builds
# Copyright (c) 2002, Julio Merino <jmmv@netbsd.org>
@ -256,7 +256,7 @@ sysbuild_build_sets() {
echo -n "Making sets:"
mkdir -p $RELEASEDIR/binary/sets
cd $SRCDIR/distrib/sets
make sets DESTDIR=$BUILDDIR/root RELEASEDIR=$RELEASEDIR UNPRIVED=yes >> $_log 2>&1
make sets TOOLDIR=$BUILDDIR/tools DESTDIR=$BUILDDIR/root RELEASEDIR=$RELEASEDIR UNPRIVED=yes >> $_log 2>&1
if [ $? -ne 0 ]; then
echo " failed."
else