diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-19 10:42:37 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-20 00:25:13 -0400 |
commit | 1bf5c34239398dac1452e064b7194869054cf398 (patch) | |
tree | c2f4f0d0415fd9375c836e456395e568c4fcab8d /sim/or1k/configure | |
parent | 4ca8baee000128932f0cd61b226fa5b53656fc32 (diff) | |
download | gdb-1bf5c34239398dac1452e064b7194869054cf398.zip gdb-1bf5c34239398dac1452e064b7194869054cf398.tar.gz gdb-1bf5c34239398dac1452e064b7194869054cf398.tar.bz2 |
sim: unify cgen maintainer settings
Move these options up to the common dir so we only test & export
them once across all ports. It makes it available to targets that
aren't cgen-based, but those will just ignore the settings, so it
shouldn't be an issue.
Diffstat (limited to 'sim/or1k/configure')
-rwxr-xr-x | sim/or1k/configure | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sim/or1k/configure b/sim/or1k/configure index 95ce8b8..999d413 100755 --- a/sim/or1k/configure +++ b/sim/or1k/configure @@ -587,9 +587,6 @@ LIBOBJS sim_reserved_bits sim_float cgen_breaks -cgen -cgendir -CGEN_MAINT MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE @@ -644,7 +641,6 @@ enable_maintainer_mode enable_sim_bitsize enable_sim_scache enable_sim_default_model -enable_cgen_maint enable_sim_hardware ' ac_precious_vars='build_alias @@ -1265,7 +1261,6 @@ Optional Features: Specify simulator execution cache size --enable-sim-default-model=model Specify default model to simulate - --enable-cgen-maint=DIR build cgen generated files --enable-sim-hardware=LIST Specify the hardware to be included in the build. @@ -1822,39 +1817,6 @@ fi -cgen_maint=no -cgen=guile -cgendir='$(srcdir)/../../cgen' -# Check whether --enable-cgen-maint was given. -if test "${enable_cgen_maint+set}" = set; then : - enableval=$enable_cgen_maint; case "${enableval}" in - yes) cgen_maint=yes ;; - no) cgen_maint=no ;; - *) - # Argument is a directory where cgen can be found. In some - # future world cgen could be installable, but right now this - # is not the case. Instead we assume the directory is a path - # to the cgen source tree. - cgen_maint=yes - if test -r ${enableval}/iformat.scm; then - # This looks like a cgen source tree. - cgendir=${enableval} - else - as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5 - fi - ;; -esac -fi -if test x${cgen_maint} != xno ; then - CGEN_MAINT='' -else - CGEN_MAINT='#' -fi - - - - - hardware="cfi core pal glue " sim_hw_cflags="-DWITH_HW=1" |