Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src * Display default DESTDIR & RELEASEDIR. (Well, they're actu...
details: https://anonhg.NetBSD.org/src/rev/65e11c017619
branches: trunk
changeset: 547054:65e11c017619
user: lukem <lukem%NetBSD.org@localhost>
date: Mon May 12 03:01:16 2003 +0000
description:
* Display default DESTDIR & RELEASEDIR. (Well, they're actually in
the .OBJDIR of the top of the source tree, but expressing that in 1
line or less starts to get complicated). Requested by Hubert.
* When using a -el or -eb MACHINE "shortcut", use that original value
as the MACHINE for the default makewrapper filename. Requested by Simon.
diffstat:
build.sh | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (62 lines):
diff -r 2d0b8fdc1d23 -r 65e11c017619 build.sh
--- a/build.sh Mon May 12 02:33:17 2003 +0000
+++ b/build.sh Mon May 12 03:01:16 2003 +0000
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.101 2003/05/12 02:33:17 lukem Exp $
+# $NetBSD: build.sh,v 1.102 2003/05/12 03:01:16 lukem Exp $
#
# Copyright (c) 2001-2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -111,6 +111,7 @@
makeenv=
makewrapper=
+ makewrappermachine=
runcmd=
operations=
removedirs=
@@ -162,6 +163,7 @@
evbmips-e[bl]|sbmips-e[bl])
MACHINE_ARCH=mips${MACHINE##*-}
+ makewrappermachine=${MACHINE}
MACHINE=${MACHINE%-e[bl]}
;;
@@ -340,7 +342,7 @@
Options:
-a arch Set MACHINE_ARCH to arch (otherwise deduced from MACHINE)
-B buildId Set BUILDID to buildId
- -D dest Set DESTDIR to dest
+ -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
-j njob Run up to njob jobs in parallel; see make(1)
@@ -349,7 +351,7 @@
-n Show commands that would be executed, but do not execute them
-O obj Set obj root directory to obj (sets a MAKEOBJDIR pattern)
-o Set MKOBJDIRS=no (do not create objdirs at start of build)
- -R release Set RELEASEDIR to release
+ -R release Set RELEASEDIR to release. (Default: releasedir)
-r Remove contents of TOOLDIR and DESTDIR before building
-T tools Set TOOLDIR to tools. If unset, and TOOLDIR is not set in
the environment, ${toolprefix}make will be (re)built unconditionally
@@ -757,7 +759,7 @@
# well as by build.sh.
#
if [ -z "${makewrapper}" ]; then
- makewrapper="${TOOLDIR}/bin/${toolprefix}make-${MACHINE}"
+ makewrapper="${TOOLDIR}/bin/${toolprefix}make-${makewrappermachine:-${MACHINE}}"
[ -z "${BUILDID}" ] || makewrapper="${makewrapper}-${BUILDID}"
fi
@@ -772,7 +774,7 @@
eval cat <<EOF ${makewrapout}
#! /bin/sh
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.101 2003/05/12 02:33:17 lukem Exp $
+# Generated from: \$NetBSD: build.sh,v 1.102 2003/05/12 03:01:16 lukem Exp $
#
EOF
Home |
Main Index |
Thread Index |
Old Index