Source-Changes-HG archive

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

[src/trunk]: src When MACHINE_ARCH is missing, give direction on how to get a...



details:   https://anonhg.NetBSD.org/src/rev/3980546d5704
branches:  trunk
changeset: 933269:3980546d5704
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat May 23 17:26:32 2020 +0000

description:
When MACHINE_ARCH is missing, give direction on how to get a list of valid options

diffstat:

 build.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r f16bbd41b8e0 -r 3980546d5704 build.sh
--- a/build.sh  Sat May 23 16:40:41 2020 +0000
+++ b/build.sh  Sat May 23 17:26:32 2020 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.337 2020/05/23 11:04:43 jmcneill Exp $
+#      $NetBSD: build.sh,v 1.338 2020/05/23 17:26:32 jmcneill Exp $
 #
 # Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -812,7 +812,7 @@
 
        case "${MACHINE_ARCH}" in
        "")
-               bomb "No MACHINE_ARCH provided"
+               bomb "No MACHINE_ARCH provided. Use 'build.sh -m ${MACHINE} list-arch' to show options."
                ;;
        esac
 
@@ -1935,7 +1935,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.337 2020/05/23 11:04:43 jmcneill Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.338 2020/05/23 17:26:32 jmcneill Exp $
 # with these arguments: ${_args}
 #
 



Home | Main Index | Thread Index | Old Index