Don't treat -m evbarm like the other arm-based platforms. Set
MACHINE_ARCH only if it's not already set. This prevents build.sh -m evbarm-eb from ending up with MACHINE_ARCH=arm instead of =armeb (since MACHINE is stripped of the -eb suffix just above).
This commit is contained in:
parent
197cd56e11
commit
d66d113907
10
build.sh
10
build.sh
|
@ -1,5 +1,5 @@
|
|||
#! /usr/bin/env sh
|
||||
# $NetBSD: build.sh,v 1.161 2007/02/05 18:26:01 apb Exp $
|
||||
# $NetBSD: build.sh,v 1.162 2007/02/19 14:20:11 briggs Exp $
|
||||
#
|
||||
# Copyright (c) 2001-2005 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -277,10 +277,14 @@ getarch()
|
|||
#
|
||||
case "${MACHINE}" in
|
||||
|
||||
acorn26|acorn32|cats|evbarm|hpcarm|iyonix|netwinder|shark|zaurus)
|
||||
acorn26|acorn32|cats|hpcarm|iyonix|netwinder|shark|zaurus)
|
||||
MACHINE_ARCH=arm
|
||||
;;
|
||||
|
||||
evbarm) # unspecified MACHINE_ARCH gets LE
|
||||
MACHINE_ARCH=${MACHINE_ARCH:=arm}
|
||||
;;
|
||||
|
||||
hp700)
|
||||
MACHINE_ARCH=hppa
|
||||
;;
|
||||
|
@ -990,7 +994,7 @@ createmakewrapper()
|
|||
eval cat <<EOF ${makewrapout}
|
||||
#! ${HOST_SH}
|
||||
# Set proper variables to allow easy "make" building of a NetBSD subtree.
|
||||
# Generated from: \$NetBSD: build.sh,v 1.161 2007/02/05 18:26:01 apb Exp $
|
||||
# Generated from: \$NetBSD: build.sh,v 1.162 2007/02/19 14:20:11 briggs Exp $
|
||||
# with these arguments: ${_args}
|
||||
#
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue