X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=sim%2Fmips%2Fconfigure.ac;h=9430923d89a1e61b8a266d3d86e0ca40195cfdb6;hb=7eb1f99adaa3515463b6082e4a911d8b334e852f;hp=84b8d774739b161809abcb676b786a907fa1cc1e;hpb=42a4f53d2bf8938c2aeda9f52be7a20534b214a9;p=thirdparty%2Fbinutils-gdb.git diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac index 84b8d774739..9430923d89a 100644 --- a/sim/mips/configure.ac +++ b/sim/mips/configure.ac @@ -1,13 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(Makefile.in) -sinclude(../common/acinclude.m4) - -SIM_AC_COMMON - -dnl Options available in this module -SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT) -SIM_AC_OPTION_WARNINGS -SIM_AC_OPTION_RESERVED_BITS(1) +AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config]) # DEPRECATED # @@ -28,25 +21,6 @@ AC_SUBST(SIM_SUBTARGET) -# -# Select the byte order of the target -# -mips_endian= -default_endian= -case "${target}" in - mips64el*-*-*) mips_endian=LITTLE ;; - mips64vr*el-*-*) default_endian=LITTLE ;; - mips64*-*-*) default_endian=BIG ;; - mips16*-*-*) default_endian=BIG ;; - mipsisa32*-*-*) default_endian=BIG ;; - mipsisa64*-*-*) default_endian=BIG ;; - mips*-*-*) default_endian=BIG ;; - *) default_endian=BIG ;; -esac -SIM_AC_OPTION_ENDIAN($mips_endian,$default_endian) - - - # # Select the bitsize of the target # @@ -221,7 +195,7 @@ if test ${sim_gen} = MULTI; then cat << __EOF__ > multi-run.c /* Main entry point for MULTI simulators. - Copyright (C) 2003-2019 Free Software Foundation, Inc. + Copyright (C) 2003-2021 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -423,34 +397,5 @@ AC_SUBST(sim_multi_flags) AC_SUBST(sim_multi_igen_configs) AC_SUBST(sim_multi_src) AC_SUBST(sim_multi_obj) -# -# Add simulated hardware devices -# -hw_enabled=no -case "${target}" in - mips*tx39*) - hw_enabled=yes - hw_extra_devices="tx3904cpu tx3904irc tx3904tmr tx3904sio" - ;; - *) - ;; -esac -SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices) - - -# Choose simulator engine -case "${target}" in - *) mips_igen_engine="engine.o" - ;; -esac -AC_SUBST(mips_igen_engine) - - -AC_PATH_X -mips_extra_libs="" -AC_SUBST(mips_extra_libs) - -AC_CHECK_LIB(m, fabs) -AC_CHECK_FUNCS(aint anint sqrt) SIM_AC_OUTPUT