preliminary support for powerpc64 toolchain:
- allow "-m macppc/evbppc" to also take "-a powerpc64" to build a powerpc64 toolchain. XXX this may change, as an evbppc64 port may be required. XXX deal with that when we have some code...
This commit is contained in:
parent
eadd73deca
commit
d4ce694d06
9
build.sh
9
build.sh
|
@ -1,5 +1,5 @@
|
|||
#! /usr/bin/env sh
|
||||
# $NetBSD: build.sh,v 1.147 2006/06/19 18:12:30 dogcow Exp $
|
||||
# $NetBSD: build.sh,v 1.148 2006/06/22 20:00:18 mrg Exp $
|
||||
#
|
||||
# Copyright (c) 2001-2005 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -238,7 +238,7 @@ validatearch()
|
|||
#
|
||||
case "${MACHINE_ARCH}" in
|
||||
|
||||
alpha|arm|armeb|hppa|i386|m68000|m68k|mipse[bl]|ns32k|powerpc|sh[35]e[bl]|sparc|sparc64|vax|x86_64|ia64)
|
||||
alpha|arm|armeb|hppa|i386|m68000|m68k|mipse[bl]|ns32k|powerpc|powerpc64|sh[35]e[bl]|sparc|sparc64|vax|x86_64|ia64)
|
||||
;;
|
||||
|
||||
"")
|
||||
|
@ -271,6 +271,9 @@ validatearch()
|
|||
arches="sh5eb sh5el"
|
||||
;;
|
||||
|
||||
macppc|evbppc)
|
||||
arches="powerpc powerpc64"
|
||||
;;
|
||||
*)
|
||||
oma="${MACHINE_ARCH}"
|
||||
getarch
|
||||
|
@ -868,7 +871,7 @@ createmakewrapper()
|
|||
eval cat <<EOF ${makewrapout}
|
||||
#! /bin/sh
|
||||
# Set proper variables to allow easy "make" building of a NetBSD subtree.
|
||||
# Generated from: \$NetBSD: build.sh,v 1.147 2006/06/19 18:12:30 dogcow Exp $
|
||||
# Generated from: \$NetBSD: build.sh,v 1.148 2006/06/22 20:00:18 mrg Exp $
|
||||
# with these arguments: ${_args}
|
||||
#
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue