Add a change requested in PR#15548 and append the args passed to build.sh

into the comments in the make wrapper.
This commit is contained in:
jmc 2004-07-02 04:25:24 +00:00
parent 8753d093dd
commit bd789f7eba
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#! /usr/bin/env sh #! /usr/bin/env sh
# $NetBSD: build.sh,v 1.129 2004/06/25 15:03:39 wiz Exp $ # $NetBSD: build.sh,v 1.130 2004/07/02 04:25:24 jmc Exp $
# #
# Copyright (c) 2001-2004 The NetBSD Foundation, Inc. # Copyright (c) 2001-2004 The NetBSD Foundation, Inc.
# All rights reserved. # All rights reserved.
@ -856,9 +856,9 @@ createmakewrapper()
eval cat <<EOF ${makewrapout} eval cat <<EOF ${makewrapout}
#! /bin/sh #! /bin/sh
# Set proper variables to allow easy "make" building of a NetBSD subtree. # Set proper variables to allow easy "make" building of a NetBSD subtree.
# Generated from: \$NetBSD: build.sh,v 1.129 2004/06/25 15:03:39 wiz Exp $ # Generated from: \$NetBSD: build.sh,v 1.130 2004/07/02 04:25:24 jmc Exp $
# with these arguments: ${_args}
# #
EOF EOF
for f in ${makeenv}; do for f in ${makeenv}; do
if eval "[ -z \"\${$f}\" -a \"\${${f}-X}\" = \"X\" ]"; then if eval "[ -z \"\${$f}\" -a \"\${${f}-X}\" = \"X\" ]"; then
@ -997,6 +997,7 @@ installworld()
main() main()
{ {
initdefaults initdefaults
_args=$@
parseoptions "$@" parseoptions "$@"
build_start=$(date) build_start=$(date)