From 3a829bc50c1da3163329356e561d5bf5b218ce35 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 19 Jun 2021 10:46:14 -0400 Subject: sim: unify general maintainer settings Move these options up to the common dir so we only test & export them once across all ports. This takes a page from the cgen maint logic to make $(MAINT) work for non-automake Makefiles which will allow us to merge it together. --- sim/cr16/configure | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'sim/cr16/configure') diff --git a/sim/cr16/configure b/sim/cr16/configure index 85cb186..d857477 100755 --- a/sim/cr16/configure +++ b/sim/cr16/configure @@ -590,9 +590,6 @@ sim_scache sim_float sim_bitsize cgen_breaks -MAINT -MAINTAINER_MODE_FALSE -MAINTAINER_MODE_TRUE target_alias host_alias build_alias @@ -637,7 +634,6 @@ sim_hw_cflags' ac_subst_files='' ac_user_opts=' enable_option_checking -enable_maintainer_mode enable_sim_hardware ' ac_precious_vars='build_alias @@ -1250,9 +1246,6 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-maintainer-mode - enable make rules and dependencies not useful (and - sometimes confusing) to the casual installer --enable-sim-hardware=LIST Specify the hardware to be included in the build. @@ -1689,32 +1682,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 -$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } - # Check whether --enable-maintainer-mode was given. -if test "${enable_maintainer_mode+set}" = set; then : - enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval -else - USE_MAINTAINER_MODE=no -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 -$as_echo "$USE_MAINTAINER_MODE" >&6; } - if test $USE_MAINTAINER_MODE = yes; then - MAINTAINER_MODE_TRUE= - MAINTAINER_MODE_FALSE='#' -else - MAINTAINER_MODE_TRUE='#' - MAINTAINER_MODE_FALSE= -fi - - MAINT=$MAINTAINER_MODE_TRUE - - - - - hardware="cfi core pal glue " sim_hw_cflags="-DWITH_HW=1" sim_hw="$hardware" @@ -1935,10 +1902,6 @@ LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then - as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 -- cgit v1.1