aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-12-13 17:15:38 +0000
committerWerner Koch <[email protected]>2012-12-13 17:15:38 +0000
commit0fee571260e56c11023a998d564bb9c0c1d87d70 (patch)
tree6b418a33bcc59ebe597e48f213cf4c0328d2d3c8
parentCard: Fix the process of writing key or generating key. (diff)
downloadgnupg-0fee571260e56c11023a998d564bb9c0c1d87d70.tar.gz
gnupg-0fee571260e56c11023a998d564bb9c0c1d87d70.zip
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.
-rw-r--r--mpi/config.links9
1 files 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 <http://www.gnu.org/licenses/>.
@@ -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