Add nios2 port.

This commit is contained in:
Sandra Loosemore
2013-10-15 15:33:59 -04:00
committed by Anthony Green
parent 2f5626ce02
commit 16b93a211b
10 changed files with 621 additions and 54 deletions

18
configure vendored
View File

@@ -687,6 +687,8 @@ POWERPC_AIX_FALSE
POWERPC_AIX_TRUE
POWERPC_FALSE
POWERPC_TRUE
NIOS2_FALSE
NIOS2_TRUE
MOXIE_FALSE
MOXIE_TRUE
METAG_FALSE
@@ -13499,6 +13501,10 @@ case "$host" in
TARGET=MIPS; TARGETDIR=mips
;;
nios2*-linux*)
TARGET=NIOS2; TARGETDIR=nios2
;;
powerpc*-*-linux* | powerpc-*-sysv*)
TARGET=POWERPC; TARGETDIR=powerpc
;;
@@ -13688,6 +13694,14 @@ else
MOXIE_FALSE=
fi
if test x$TARGET = xNIOS2; then
NIOS2_TRUE=
NIOS2_FALSE='#'
else
NIOS2_TRUE='#'
NIOS2_FALSE=
fi
if test x$TARGET = xPOWERPC; then
POWERPC_TRUE=
POWERPC_FALSE='#'
@@ -15164,6 +15178,10 @@ if test -z "${MOXIE_TRUE}" && test -z "${MOXIE_FALSE}"; then
as_fn_error $? "conditional \"MOXIE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${NIOS2_TRUE}" && test -z "${NIOS2_FALSE}"; then
as_fn_error $? "conditional \"NIOS2\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${POWERPC_TRUE}" && test -z "${POWERPC_FALSE}"; then
as_fn_error $? "conditional \"POWERPC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5