Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src In the usage message, mention that the -m arg may be an alias.



details:   https://anonhg.NetBSD.org/src/rev/31e6802b7fc7
branches:  trunk
changeset: 331287:31e6802b7fc7
user:      apb <apb%NetBSD.org@localhost>
date:      Thu Aug 07 15:15:48 2014 +0000

description:
In the usage message, mention that the -m arg may be an alias.
Also adjust a comment around alias processing.

diffstat:

 build.sh |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 8a01499e2e43 -r 31e6802b7fc7 build.sh
--- a/build.sh  Thu Aug 07 14:22:13 2014 +0000
+++ b/build.sh  Thu Aug 07 15:15:48 2014 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.290 2014/08/06 12:29:13 apb Exp $
+#      $NetBSD: build.sh,v 1.291 2014/08/07 15:15:48 apb Exp $
 #
 # Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -717,7 +717,8 @@
 # getarch -- find the default MACHINE_ARCH for a MACHINE,
 # or convert an alias to a MACHINE/MACHINE_ARCH pair.
 #
-# Saves MACHINE in makewrappermachine before possibly modifying MACHINE.
+# Saves the original value of MACHINE in makewrappermachine before
+# alias processing.
 #
 # Sets MACHINE and MACHINE_ARCH if the input MACHINE value is
 # recognised as an alias, or recognised as a machine that has a default
@@ -1001,7 +1002,10 @@
     -j njob        Run up to njob jobs in parallel; see make(1) -j.
     -M obj         Set obj root directory to obj; sets MAKEOBJDIRPREFIX.
                    Unsets MAKEOBJDIR.
-    -m mach        Set MACHINE to mach; not required if NetBSD native.
+    -m mach        Set MACHINE to mach.  Some mach values are actually
+                   aliases that set MACHINE/MACHINE_ARCH pairs.
+                   [Default: deduced from the host system if the host
+                   OS is NetBSD]
     -N noisy       Set the noisyness (MAKEVERBOSE) level of the build:
                        0   Minimal output ("quiet")
                        1   Describe what is occurring
@@ -1796,7 +1800,7 @@
        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.290 2014/08/06 12:29:13 apb Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.291 2014/08/07 15:15:48 apb Exp $
 # with these arguments: ${_args}
 #
 



Home | Main Index | Thread Index | Old Index