Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/build.sh,v rcsdiff: /ftp/cvs/cvsroot/src/build.sh,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.153.2.2.2.3 retrieving revision 1.153.2.3 diff -u -p -r1.153.2.2.2.3 -r1.153.2.3 --- src/build.sh 2008/01/06 05:00:07 1.153.2.2.2.3 +++ src/build.sh 2007/07/19 14:38:13 1.153.2.3 @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.153.2.2.2.3 2008/01/06 05:00:07 wrstuden Exp $ +# $NetBSD: build.sh,v 1.153.2.3 2007/07/19 14:38:13 liamjfoy Exp $ # # Copyright (c) 2001-2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -219,7 +219,6 @@ initdefaults() do_sourcesets=false do_syspkgs=false do_iso_image=false - do_iso_image_source=false do_params=false # Create scratch directory @@ -456,9 +455,9 @@ usage() fi cat <<_usage_ -Usage: ${progname} [-EnorUux] [-a arch] [-B buildid] [-C cddir] [-D dest] - [-j njob] [-M obj] [-m mach] [-N noisy] [-O obj] [-R release] - [-T tools] [-V var=[value]] [-w wrapper] [-X x11src] [-Z var] +Usage: ${progname} [-EnorUux] [-a arch] [-B buildid] [-D dest] [-j njob] + [-M obj] [-m mach] [-N noisy] [-O obj] [-R release] [-T tools] + [-V var=[value]] [-w wrapper] [-X x11src] [-Z var] operation [...] Build operations (all imply "obj" and "tools"): @@ -480,14 +479,12 @@ Usage: ${progname} [-EnorUux] [-a arch] DESTDIR should be populated beforehand. sourcesets Create source sets in RELEASEDIR/source/sets. syspkgs Create syspkgs in RELEASEDIR/MACHINE/binary/syspkgs. - iso-image Create CD-ROM image in RELEASEDIR/iso. - iso-image-source Create CD-ROM image with source in RELEASEDIR/iso. + iso-image Create CD-ROM image in RELEASEDIR/MACHINE/installation. params Display various make(1) parameters. Options: -a arch Set MACHINE_ARCH to arch. [Default: deduced from MACHINE] -B buildId Set BUILDID to buildId. - -C cddir Set CDEXTRA to cddir. -D dest Set DESTDIR to dest. [Default: destdir.MACHINE] -E Set "expert" mode; disables various safety checks. Should not be used without expert knowledge of the build system. @@ -526,7 +523,7 @@ _usage_ parseoptions() { - opts='a:B:bC:D:dEhi:j:k:M:m:N:nO:oR:rT:tUuV:w:xX:Z:' + opts='a:B:bD:dEhi:j:k:M:m:N:nO:oR:rT:tUuV:w:xX:Z:' opt_a=no if type getopts >/dev/null 2>&1; then @@ -570,11 +567,6 @@ parseoptions() usage "'-b' has been replaced by 'makewrapper'" ;; - -C) - eval ${optargcmd}; resolvepath - iso_dir=${OPTARG} - ;; - -D) eval ${optargcmd}; resolvepath setmakeenv DESTDIR "${OPTARG}" @@ -734,10 +726,6 @@ parseoptions() op=iso_image # used as part of a variable name ;; - iso-image-source) - op=iso_image_source # used as part of a variable name - ;; - kernel=*|releasekernel=*) arg=${op#*=} op=${op%%=*} @@ -977,7 +965,7 @@ createmakewrapper() eval cat <