summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2020-09-20 10:29:05 +0000
committermrg <mrg@NetBSD.org>2020-09-20 10:29:05 +0000
commit6e64aaab310a61d38b243c7b399efbd7126fa379 (patch)
tree7c6a1969c0eadc66b57fdc7ec3fb54c56587e477 /build.sh
parent8f7089a807f2a902caa4e92a5de99b5aafabc9e6 (diff)
add "distsets" alias for "distribution sets".
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh17
1 files changed, 13 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index 520f802d38e..042c8c4a1a7 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.344 2020/09/14 09:02:11 kim Exp $
+# $NetBSD: build.sh,v 1.345 2020/09/20 10:29:05 mrg Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1061,6 +1061,7 @@ Usage: ${progname} [-EhnoPRrUuxy] [-a arch] [-B buildid] [-C cdextras]
sets Create binary sets in
RELEASEDIR/RELEASEMACHINEDIR/binary/sets.
DESTDIR should be populated beforehand.
+ distsets Same as "distribution sets".
sourcesets Create source sets in RELEASEDIR/source/sets.
syspkgs Create syspkgs in
RELEASEDIR/RELEASEMACHINEDIR/binary/syspkgs.
@@ -1087,7 +1088,8 @@ Usage: ${progname} [-EhnoPRrUuxy] [-a arch] [-B buildid] [-C cdextras]
[Default: gcc]
-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.
+ Should not be used without expert knowledge of the build
+ system.
-h Print this help message.
-j njob Run up to njob jobs in parallel; see make(1) -j.
-M obj Set obj root directory to obj; sets MAKEOBJDIRPREFIX.
@@ -1099,7 +1101,8 @@ Usage: ${progname} [-EhnoPRrUuxy] [-a arch] [-B buildid] [-C cdextras]
-N noisy Set the noisyness (MAKEVERBOSE) level of the build:
0 Minimal output ("quiet")
1 Describe what is occurring
- 2 Describe what is occurring and echo the actual command
+ 2 Describe what is occurring and echo the actual
+ command
3 Ignore the effect of the "@" prefix in make commands
4 Trace shell commands using the shell's -x flag
[Default: 2]
@@ -1394,6 +1397,12 @@ parseoptions()
bomb "Must supply a directory with \`install=...'"
;;
+ distsets)
+ operations="$(echo "$operations" | sed 's/distsets/distribution sets/')"
+ do_sets=true
+ op=distribution
+ ;;
+
build|\
cleandir|\
distribution|\
@@ -1961,7 +1970,7 @@ createmakewrapper()
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.344 2020/09/14 09:02:11 kim Exp $
+# Generated from: \$NetBSD: build.sh,v 1.345 2020/09/20 10:29:05 mrg Exp $
# with these arguments: ${_args}
#