[BACK]Return to build.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/build.sh between version 1.198.2.1 and 1.198.2.2

version 1.198.2.1, 2009/01/09 02:04:43 version 1.198.2.2, 2009/03/18 05:37:59
Line 163  initdefaults()
Line 163  initdefaults()
         [ -f share/mk/bsd.own.mk ] ||          [ -f share/mk/bsd.own.mk ] ||
             bomb "src/share/mk is missing; please re-fetch the source tree"              bomb "src/share/mk is missing; please re-fetch the source tree"
   
         # Find information about the build platform.  Note that "uname -p"          # Find information about the build platform.  This should be
         # is not part of POSIX, but NetBSD's uname -p prints MACHINE_ARCH,          # kept in sync with _HOST_OSNAME, _HOST_OSREL, and _HOST_ARCH
         # while uname -m prints MACHINE.          # variables in share/mk/bsd.sys.mk.
           #
           # Note that "uname -p" is not part of POSIX, but we want uname_p
           # to be set to the host MACHINE_ARCH, if possible.  On systems
           # where "uname -p" fails, prints "unknown", or prints a string
           # that does not look like an identifier, fall back to using the
           # output from "uname -m" instead.
         #          #
         uname_s=$(uname -s 2>/dev/null)          uname_s=$(uname -s 2>/dev/null)
         uname_r=$(uname -r 2>/dev/null)          uname_r=$(uname -r 2>/dev/null)
         uname_m=$(uname -m 2>/dev/null)          uname_m=$(uname -m 2>/dev/null)
         uname_p=$(uname -p 2>/dev/null || uname -m 2>/dev/null)          uname_p=$(uname -p 2>/dev/null || echo "unknown")
           case "${uname_p}" in
           ''|unknown|*[^a-z0-9]*) uname_p="${uname_m}" ;;
           esac
   
         # If $PWD is a valid name of the current directory, POSIX mandates          # If $PWD is a valid name of the current directory, POSIX mandates
         # that pwd return it by default which causes problems in the          # that pwd return it by default which causes problems in the

Legend:
Removed from v.1.198.2.1  
changed lines
  Added in v.1.198.2.2

CVSweb <webmaster@jp.NetBSD.org>