Commit 02aaeabd authored by Sergei Trofimovich's avatar Sergei Trofimovich

aclocal.m4: add minimal support for nios2 architecture

With this change unregisterised port can already produce minimal
executables:
    ELF 32-bit LSB executable, Altera Nios II, version 1 (SYSV),
    dynamically linked, interpreter /lib/ld-linux-nios2.so.1
Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
parent d7d0aa31
......@@ -217,7 +217,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
mipsel)
test -z "[$]2" || eval "[$]2=ArchMipsel"
;;
hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sh4|vax)
hppa|hppa1_1|ia64|m68k|nios2|rs6000|s390|s390x|sh4|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
......@@ -1848,6 +1848,9 @@ case "$1" in
mips*)
$2="mips"
;;
nios2)
$2="nios2"
;;
powerpc64le*)
$2="powerpc64le"
;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment