mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
sim: cris/frv/iq2000/lm32: merge with common configure script
Now that the scache logic has been migrated into the common code, there's nothing specific in these configure scripts, so merge them into the common one. The frv unique logic can be moved to a dedicated include and merged in the common configure since the flag has been scoped to the arch.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Remove [true] from cris, frv, iq2000, and lm32
|
||||
SIM_TARGET calls. Include frv/acinclude.m4.
|
||||
* configure, Makefile.in: Regenerate.
|
||||
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Call SIM_AC_OPTION_SCACHE.
|
||||
|
||||
@@ -219,7 +219,8 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
|
||||
$(top_srcdir)/m4/sim_ac_option_warnings.m4 \
|
||||
$(top_srcdir)/m4/sim_ac_platform.m4 \
|
||||
$(top_srcdir)/m4/sim_ac_toolchain.m4 \
|
||||
$(top_srcdir)/rx/acinclude.m4 $(top_srcdir)/configure.ac
|
||||
$(top_srcdir)/frv/acinclude.m4 $(top_srcdir)/rx/acinclude.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||
@@ -230,11 +231,13 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES = Make-common.sim aarch64/Makefile.sim \
|
||||
arm/Makefile.sim avr/Makefile.sim bfin/Makefile.sim \
|
||||
cr16/Makefile.sim d10v/Makefile.sim ft32/Makefile.sim \
|
||||
h8300/Makefile.sim m32c/Makefile.sim m68hc11/Makefile.sim \
|
||||
mcore/Makefile.sim microblaze/Makefile.sim moxie/Makefile.sim \
|
||||
msp430/Makefile.sim pru/Makefile.sim rl78/Makefile.sim \
|
||||
rx/Makefile.sim sh/Makefile.sim erc32/Makefile.sim \
|
||||
cr16/Makefile.sim cris/Makefile.sim d10v/Makefile.sim \
|
||||
frv/Makefile.sim ft32/Makefile.sim h8300/Makefile.sim \
|
||||
iq2000/Makefile.sim lm32/Makefile.sim m32c/Makefile.sim \
|
||||
m68hc11/Makefile.sim mcore/Makefile.sim \
|
||||
microblaze/Makefile.sim moxie/Makefile.sim msp430/Makefile.sim \
|
||||
pru/Makefile.sim rl78/Makefile.sim rx/Makefile.sim \
|
||||
sh/Makefile.sim erc32/Makefile.sim \
|
||||
example-synacor/Makefile.sim arch-subdir.mk
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
LIBRARIES = $(noinst_LIBRARIES)
|
||||
@@ -722,6 +725,7 @@ SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
SIM_COMMON_BUILD_FALSE = @SIM_COMMON_BUILD_FALSE@
|
||||
SIM_COMMON_BUILD_TRUE = @SIM_COMMON_BUILD_TRUE@
|
||||
SIM_FRV_TRAPDUMP_FLAGS = @SIM_FRV_TRAPDUMP_FLAGS@
|
||||
SIM_INLINE = @SIM_INLINE@
|
||||
SIM_PRIMARY_TARGET = @SIM_PRIMARY_TARGET@
|
||||
SIM_RX_CYCLE_ACCURATE_FLAGS = @SIM_RX_CYCLE_ACCURATE_FLAGS@
|
||||
@@ -956,12 +960,20 @@ bfin/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/bfin/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
cr16/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/cr16/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
cris/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/cris/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
d10v/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/d10v/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
frv/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/frv/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
ft32/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/ft32/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
h8300/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/h8300/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
iq2000/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/iq2000/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
lm32/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/lm32/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
m32c/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/m32c/Makefile.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
m68hc11/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/m68hc11/Makefile.in
|
||||
|
||||
105
sim/configure
vendored
105
sim/configure
vendored
@@ -639,6 +639,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
||||
am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
SIM_RX_CYCLE_ACCURATE_FLAGS
|
||||
SIM_FRV_TRAPDUMP_FLAGS
|
||||
sim_reserved_bits
|
||||
sim_float
|
||||
sim_bitsize
|
||||
@@ -845,6 +846,7 @@ enable_sim_trace
|
||||
enable_werror
|
||||
enable_build_warnings
|
||||
enable_sim_build_warnings
|
||||
enable_sim_frv_trapdump
|
||||
enable_sim_rx_cycle_accurate
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
@@ -862,10 +864,6 @@ PKG_CONFIG_LIBDIR
|
||||
SDL_CFLAGS
|
||||
SDL_LIBS'
|
||||
ac_subdirs_all='bpf
|
||||
cris
|
||||
frv
|
||||
iq2000
|
||||
lm32
|
||||
m32r
|
||||
mips
|
||||
mn10300
|
||||
@@ -1536,6 +1534,8 @@ Optional Features:
|
||||
--enable-sim-build-warnings
|
||||
enable SIM specific build-time compiler warnings if
|
||||
gcc is used
|
||||
--enable-sim-frv-trapdump
|
||||
Make unknown traps dump the registers
|
||||
--disable-sim-rx-cycle-accurate
|
||||
Disable cycle accurate simulation (faster runtime)
|
||||
|
||||
@@ -13832,8 +13832,11 @@ subdirs="$subdirs bpf"
|
||||
if test "${targ}" = "${target}"; then
|
||||
SIM_PRIMARY_TARGET=cris
|
||||
fi
|
||||
subdirs="$subdirs cris"
|
||||
ac_config_files="$ac_config_files cris/Makefile.sim:cris/Makefile.in"
|
||||
|
||||
ac_config_commands="$ac_config_commands cris/Makefile"
|
||||
|
||||
as_fn_append SIM_SUBDIRS " cris"
|
||||
|
||||
ac_config_commands="$ac_config_commands depdir-cris"
|
||||
|
||||
@@ -13865,8 +13868,11 @@ subdirs="$subdirs bpf"
|
||||
if test "${targ}" = "${target}"; then
|
||||
SIM_PRIMARY_TARGET=frv
|
||||
fi
|
||||
subdirs="$subdirs frv"
|
||||
ac_config_files="$ac_config_files frv/Makefile.sim:frv/Makefile.in"
|
||||
|
||||
ac_config_commands="$ac_config_commands frv/Makefile"
|
||||
|
||||
as_fn_append SIM_SUBDIRS " frv"
|
||||
|
||||
ac_config_commands="$ac_config_commands depdir-frv"
|
||||
|
||||
@@ -13916,8 +13922,11 @@ subdirs="$subdirs bpf"
|
||||
if test "${targ}" = "${target}"; then
|
||||
SIM_PRIMARY_TARGET=iq2000
|
||||
fi
|
||||
subdirs="$subdirs iq2000"
|
||||
ac_config_files="$ac_config_files iq2000/Makefile.sim:iq2000/Makefile.in"
|
||||
|
||||
ac_config_commands="$ac_config_commands iq2000/Makefile"
|
||||
|
||||
as_fn_append SIM_SUBDIRS " iq2000"
|
||||
|
||||
ac_config_commands="$ac_config_commands depdir-iq2000"
|
||||
|
||||
@@ -13931,8 +13940,11 @@ subdirs="$subdirs bpf"
|
||||
if test "${targ}" = "${target}"; then
|
||||
SIM_PRIMARY_TARGET=lm32
|
||||
fi
|
||||
subdirs="$subdirs lm32"
|
||||
ac_config_files="$ac_config_files lm32/Makefile.sim:lm32/Makefile.in"
|
||||
|
||||
ac_config_commands="$ac_config_commands lm32/Makefile"
|
||||
|
||||
as_fn_append SIM_SUBDIRS " lm32"
|
||||
|
||||
ac_config_commands="$ac_config_commands depdir-lm32"
|
||||
|
||||
@@ -14697,6 +14709,27 @@ fi
|
||||
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim frv should dump cpu state on unknown traps" >&5
|
||||
$as_echo_n "checking whether sim frv should dump cpu state on unknown traps... " >&6; }
|
||||
# Check whether --enable-sim-frv-trapdump was given.
|
||||
if test "${enable_sim_frv_trapdump+set}" = set; then :
|
||||
enableval=$enable_sim_frv_trapdump; case "${enableval}" in
|
||||
yes|no) ;;
|
||||
*) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-trapdump\"" "$LINENO" 5;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if test "x${enable_sim_frv_trapdump}" != xno; then
|
||||
SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=0"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sim rx should be cycle accurate" >&5
|
||||
$as_echo_n "checking whether sim rx should be cycle accurate... " >&6; }
|
||||
# Check whether --enable-sim-rx-cycle-accurate was given.
|
||||
@@ -15775,10 +15808,14 @@ do
|
||||
"cr16/Makefile.sim") CONFIG_FILES="$CONFIG_FILES cr16/Makefile.sim:cr16/Makefile.in" ;;
|
||||
"cr16/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS cr16/Makefile" ;;
|
||||
"depdir-cr16") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-cr16" ;;
|
||||
"cris/Makefile.sim") CONFIG_FILES="$CONFIG_FILES cris/Makefile.sim:cris/Makefile.in" ;;
|
||||
"cris/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS cris/Makefile" ;;
|
||||
"depdir-cris") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-cris" ;;
|
||||
"d10v/Makefile.sim") CONFIG_FILES="$CONFIG_FILES d10v/Makefile.sim:d10v/Makefile.in" ;;
|
||||
"d10v/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS d10v/Makefile" ;;
|
||||
"depdir-d10v") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-d10v" ;;
|
||||
"frv/Makefile.sim") CONFIG_FILES="$CONFIG_FILES frv/Makefile.sim:frv/Makefile.in" ;;
|
||||
"frv/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS frv/Makefile" ;;
|
||||
"depdir-frv") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-frv" ;;
|
||||
"ft32/Makefile.sim") CONFIG_FILES="$CONFIG_FILES ft32/Makefile.sim:ft32/Makefile.in" ;;
|
||||
"ft32/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS ft32/Makefile" ;;
|
||||
@@ -15786,7 +15823,11 @@ do
|
||||
"h8300/Makefile.sim") CONFIG_FILES="$CONFIG_FILES h8300/Makefile.sim:h8300/Makefile.in" ;;
|
||||
"h8300/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS h8300/Makefile" ;;
|
||||
"depdir-h8300") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-h8300" ;;
|
||||
"iq2000/Makefile.sim") CONFIG_FILES="$CONFIG_FILES iq2000/Makefile.sim:iq2000/Makefile.in" ;;
|
||||
"iq2000/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS iq2000/Makefile" ;;
|
||||
"depdir-iq2000") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-iq2000" ;;
|
||||
"lm32/Makefile.sim") CONFIG_FILES="$CONFIG_FILES lm32/Makefile.sim:lm32/Makefile.in" ;;
|
||||
"lm32/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lm32/Makefile" ;;
|
||||
"depdir-lm32") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-lm32" ;;
|
||||
"m32c/Makefile.sim") CONFIG_FILES="$CONFIG_FILES m32c/Makefile.sim:m32c/Makefile.in" ;;
|
||||
"m32c/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS m32c/Makefile" ;;
|
||||
@@ -17226,6 +17267,18 @@ $as_echo X"$file" |
|
||||
rm -f cr16/Makesim1.tmp cr16/Makesim2.tmp
|
||||
;;
|
||||
"depdir-cr16":C) $SHELL $ac_aux_dir/mkinstalldirs cr16/$DEPDIR ;;
|
||||
"cris/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
/^srcdir = / s:$:/cris:
|
||||
p
|
||||
}' \
|
||||
<Make-common.sim >cris/Makesim1.tmp
|
||||
sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >cris/Makesim2.tmp
|
||||
sed -e '/^## COMMON_PRE_/ r cris/Makesim1.tmp' \
|
||||
-e '/^## COMMON_POST_/ r cris/Makesim2.tmp' \
|
||||
<cris/Makefile.sim >cris/Makefile
|
||||
rm -f cris/Makesim1.tmp cris/Makesim2.tmp
|
||||
;;
|
||||
"depdir-cris":C) $SHELL $ac_aux_dir/mkinstalldirs cris/$DEPDIR ;;
|
||||
"d10v/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
@@ -17240,6 +17293,18 @@ $as_echo X"$file" |
|
||||
rm -f d10v/Makesim1.tmp d10v/Makesim2.tmp
|
||||
;;
|
||||
"depdir-d10v":C) $SHELL $ac_aux_dir/mkinstalldirs d10v/$DEPDIR ;;
|
||||
"frv/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
/^srcdir = / s:$:/frv:
|
||||
p
|
||||
}' \
|
||||
<Make-common.sim >frv/Makesim1.tmp
|
||||
sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >frv/Makesim2.tmp
|
||||
sed -e '/^## COMMON_PRE_/ r frv/Makesim1.tmp' \
|
||||
-e '/^## COMMON_POST_/ r frv/Makesim2.tmp' \
|
||||
<frv/Makefile.sim >frv/Makefile
|
||||
rm -f frv/Makesim1.tmp frv/Makesim2.tmp
|
||||
;;
|
||||
"depdir-frv":C) $SHELL $ac_aux_dir/mkinstalldirs frv/$DEPDIR ;;
|
||||
"ft32/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
@@ -17267,7 +17332,31 @@ $as_echo X"$file" |
|
||||
rm -f h8300/Makesim1.tmp h8300/Makesim2.tmp
|
||||
;;
|
||||
"depdir-h8300":C) $SHELL $ac_aux_dir/mkinstalldirs h8300/$DEPDIR ;;
|
||||
"iq2000/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
/^srcdir = / s:$:/iq2000:
|
||||
p
|
||||
}' \
|
||||
<Make-common.sim >iq2000/Makesim1.tmp
|
||||
sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >iq2000/Makesim2.tmp
|
||||
sed -e '/^## COMMON_PRE_/ r iq2000/Makesim1.tmp' \
|
||||
-e '/^## COMMON_POST_/ r iq2000/Makesim2.tmp' \
|
||||
<iq2000/Makefile.sim >iq2000/Makefile
|
||||
rm -f iq2000/Makesim1.tmp iq2000/Makesim2.tmp
|
||||
;;
|
||||
"depdir-iq2000":C) $SHELL $ac_aux_dir/mkinstalldirs iq2000/$DEPDIR ;;
|
||||
"lm32/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
/^srcdir = / s:$:/lm32:
|
||||
p
|
||||
}' \
|
||||
<Make-common.sim >lm32/Makesim1.tmp
|
||||
sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >lm32/Makesim2.tmp
|
||||
sed -e '/^## COMMON_PRE_/ r lm32/Makesim1.tmp' \
|
||||
-e '/^## COMMON_POST_/ r lm32/Makesim2.tmp' \
|
||||
<lm32/Makefile.sim >lm32/Makefile
|
||||
rm -f lm32/Makesim1.tmp lm32/Makesim2.tmp
|
||||
;;
|
||||
"depdir-lm32":C) $SHELL $ac_aux_dir/mkinstalldirs lm32/$DEPDIR ;;
|
||||
"m32c/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
|
||||
@@ -117,13 +117,13 @@ if test "${enable_sim}" != no; then
|
||||
SIM_TARGET([bfin-*-*], [bfin])
|
||||
SIM_TARGET([bpf-*-*], [bpf], [true])
|
||||
SIM_TARGET([cr16*-*-*], [cr16])
|
||||
SIM_TARGET([cris-*-* | crisv32-*-*], [cris], [true])
|
||||
SIM_TARGET([cris-*-* | crisv32-*-*], [cris])
|
||||
SIM_TARGET([d10v-*-*], [d10v])
|
||||
SIM_TARGET([frv-*-*], [frv], [true])
|
||||
SIM_TARGET([frv-*-*], [frv])
|
||||
SIM_TARGET([ft32-*-*], [ft32])
|
||||
SIM_TARGET([h8300*-*-*], [h8300])
|
||||
SIM_TARGET([iq2000-*-*], [iq2000], [true])
|
||||
SIM_TARGET([lm32-*-*], [lm32], [true])
|
||||
SIM_TARGET([iq2000-*-*], [iq2000])
|
||||
SIM_TARGET([lm32-*-*], [lm32])
|
||||
SIM_TARGET([m32c-*-*], [m32c])
|
||||
SIM_TARGET([m32r-*-*], [m32r], [true])
|
||||
SIM_TARGET([m68hc11-*-*|m6811-*-*], [m68hc11])
|
||||
@@ -175,6 +175,7 @@ AC_SUBST(sim_float)
|
||||
AC_SUBST(sim_reserved_bits)
|
||||
|
||||
dnl Some arches have unique configure flags.
|
||||
m4_include([frv/acinclude.m4])
|
||||
m4_include([rx/acinclude.m4])
|
||||
|
||||
AC_CONFIG_FILES([arch-subdir.mk Makefile])
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Removed.
|
||||
* aclocal.m4: Removed.
|
||||
* configure: Removed.
|
||||
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Delete SIM_AC_OPTION_SCACHE call.
|
||||
|
||||
15
sim/cris/aclocal.m4
vendored
15
sim/cris/aclocal.m4
vendored
@@ -1,15 +0,0 @@
|
||||
# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
|
||||
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
2876
sim/cris/configure
vendored
2876
sim/cris/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,5 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(Makefile.in)
|
||||
AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
|
||||
|
||||
SIM_AC_OUTPUT
|
||||
@@ -1,3 +1,10 @@
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Removed.
|
||||
* aclocal.m4: Removed.
|
||||
* configure: Removed.
|
||||
* acinclude.m4: New file.
|
||||
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Delete SIM_AC_OPTION_SCACHE call.
|
||||
|
||||
34
sim/frv/acinclude.m4
Normal file
34
sim/frv/acinclude.m4
Normal file
@@ -0,0 +1,34 @@
|
||||
dnl Copyright (C) 1997-2021 Free Software Foundation, Inc.
|
||||
dnl
|
||||
dnl This program is free software; you can redistribute it and/or modify
|
||||
dnl it under the terms of the GNU General Public License as published by
|
||||
dnl the Free Software Foundation; either version 3 of the License, or
|
||||
dnl (at your option) any later version.
|
||||
dnl
|
||||
dnl This program is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
dnl GNU General Public License for more details.
|
||||
dnl
|
||||
dnl You should have received a copy of the GNU General Public License
|
||||
dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
dnl
|
||||
dnl NB: This file is included in sim/configure, so keep settings namespaced.
|
||||
dnl
|
||||
dnl Enable making unknown traps dump out registers
|
||||
AC_MSG_CHECKING([whether sim frv should dump cpu state on unknown traps])
|
||||
AC_ARG_ENABLE(sim-frv-trapdump,
|
||||
[AS_HELP_STRING([--enable-sim-frv-trapdump],
|
||||
[Make unknown traps dump the registers])],
|
||||
[case "${enableval}" in
|
||||
yes|no) ;;
|
||||
*) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump");;
|
||||
esac])
|
||||
if test "x${enable_sim_frv_trapdump}" != xno; then
|
||||
SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=0"
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
AC_SUBST(SIM_FRV_TRAPDUMP_FLAGS)
|
||||
15
sim/frv/aclocal.m4
vendored
15
sim/frv/aclocal.m4
vendored
@@ -1,15 +0,0 @@
|
||||
# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
|
||||
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
2906
sim/frv/configure
vendored
2906
sim/frv/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,23 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(Makefile.in)
|
||||
AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
|
||||
|
||||
dnl Enable making unknown traps dump out registers
|
||||
AC_MSG_CHECKING([whether sim frv should dump cpu state on unknown traps])
|
||||
AC_ARG_ENABLE(sim-frv-trapdump,
|
||||
[AS_HELP_STRING([--enable-sim-frv-trapdump],
|
||||
[Make unknown traps dump the registers])],
|
||||
[case "${enableval}" in
|
||||
yes|no) ;;
|
||||
*) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump");;
|
||||
esac])
|
||||
if test "x${enable_sim_frv_trapdump}" != xno; then
|
||||
SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=1"
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
SIM_FRV_TRAPDUMP_FLAGS="-DTRAPDUMP=0"
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
AC_SUBST(SIM_FRV_TRAPDUMP_FLAGS)
|
||||
|
||||
SIM_AC_OUTPUT
|
||||
@@ -1,3 +1,9 @@
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Removed.
|
||||
* aclocal.m4: Removed.
|
||||
* configure: Removed.
|
||||
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Delete SIM_AC_OPTION_SCACHE call.
|
||||
|
||||
15
sim/iq2000/aclocal.m4
vendored
15
sim/iq2000/aclocal.m4
vendored
@@ -1,15 +0,0 @@
|
||||
# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
|
||||
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
2876
sim/iq2000/configure
vendored
2876
sim/iq2000/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,5 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(Makefile.in)
|
||||
AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
|
||||
|
||||
SIM_AC_OUTPUT
|
||||
@@ -1,3 +1,9 @@
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Removed.
|
||||
* aclocal.m4: Removed.
|
||||
* configure: Removed.
|
||||
|
||||
2021-06-30 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Delete SIM_AC_OPTION_SCACHE call.
|
||||
|
||||
15
sim/lm32/aclocal.m4
vendored
15
sim/lm32/aclocal.m4
vendored
@@ -1,15 +0,0 @@
|
||||
# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
|
||||
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
2876
sim/lm32/configure
vendored
2876
sim/lm32/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,5 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(Makefile.in)
|
||||
AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
|
||||
|
||||
SIM_AC_OUTPUT
|
||||
Reference in New Issue
Block a user