Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/build.sh,v rcsdiff: /ftp/cvs/cvsroot/src/build.sh,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.164 retrieving revision 1.165 diff -u -p -r1.164 -r1.165 --- src/build.sh 2007/03/25 12:36:01 1.164 +++ src/build.sh 2007/04/02 10:57:36 1.165 @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.164 2007/03/25 12:36:01 apb Exp $ +# $NetBSD: build.sh,v 1.165 2007/04/02 10:57:36 apb Exp $ # # Copyright (c) 2001-2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -159,7 +159,10 @@ initdefaults() [ -f share/mk/bsd.own.mk ] || bomb "src/share/mk is missing; please re-fetch the source tree" + # Find information about the build platform. + # uname_s=$(uname -s 2>/dev/null) + uname_r=$(uname -r 2>/dev/null) uname_m=$(uname -m 2>/dev/null) # If $PWD is a valid name of the current directory, POSIX mandates @@ -234,6 +237,10 @@ initdefaults() # setmakeenv NETBSDSRCDIR "${TOP}" + # Find the version of NetBSD + # + DISTRIBVER="$(${HOST_SH} ${TOP}/sys/conf/osrelease.sh)" + # Set various environment variables to known defaults, # to minimize (cross-)build problems observed "in the field". # @@ -908,9 +915,6 @@ validatemakeparams() ${runcmd} cd "${TOP}" fi - statusmsg "MACHINE: ${MACHINE}" - statusmsg "MACHINE_ARCH: ${MACHINE_ARCH}" - # Find TOOLDIR, DESTDIR, and RELEASEDIR. # TOOLDIR=$(getmakevar TOOLDIR) @@ -1017,7 +1021,7 @@ createmakewrapper() eval cat <