From 0fee571260e56c11023a998d564bb9c0c1d87d70 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 13 Dec 2012 18:15:38 +0100 Subject: Support NetBSD m68K ELF targets * mpi/config.links (m68k*-*-netbsdelf): New. -- The original patch from NetBSD had this additional code: if ! test x$M68060 = xYES; then path="m68k/mc68020 m68k" fi However, this bypasses the config system. It would be better to add proper support for this CPU to config.sub. --- mpi/config.links | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mpi/config.links b/mpi/config.links index 2c57a0c4b..a815cbc2a 100644 --- a/mpi/config.links +++ b/mpi/config.links @@ -8,12 +8,12 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. -# +# # GnuPG is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, see . @@ -194,6 +194,11 @@ case "${host}" in cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h path="m68k" ;; + m68k*-*-netbsdelf) + echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h + cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h + path="m68k" + ;; m68k-atari-mint) echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h -- cgit v1.2.3