From daaa947e26f6ec802d1c9d40f2dad47e9b2fab32 Mon Sep 17 00:00:00 2001 From: apb Date: Mon, 2 Apr 2007 10:57:36 +0000 Subject: [PATCH] * Report the NetBSD version being built. * Report the host platform. * Print more of the initial messages in the same part of the code. --- build.sh | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index bbdbdd9e831d..5382cf810464 100755 --- a/build.sh +++ b/build.sh @@ -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 <