sim: stop configuring common subdir

Now that cconfig.h doesn't exist, there's no need to build in the common
subdir anymore.  We leave the configure/Makefile files in there as there
is a helper for developers to generate the nltvals.def file.  Once that
gets cleaned up in the future though, we can drop the build logic too.
This commit is contained in:
Mike Frysinger 2016-01-08 20:27:46 -05:00
parent 936df7568a
commit 5295724cdc
4 changed files with 7 additions and 18 deletions

View file

@ -1,3 +1,10 @@
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete sim_common check and the
AC_CONFIG_SUBDIRS(common) call.
* configure: Regenerate.
* configure.tgt (sim_common): Delete the variable.
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* .gitignore: Delete /common/cconfig.h entry.

10
sim/configure vendored
View file

@ -663,7 +663,6 @@ ppc
ft32
v850
testsuite
common
igen'
# Initialize some variables set by options.
@ -3622,7 +3621,6 @@ if test "${enable_sim}" != no; then
sim_common=yes
sim_igen=no
sim_arch=
case "${target}" in
@ -3827,19 +3825,11 @@ subdirs="$subdirs aarch64"
sim_igen=yes
;;
*)
# No simulator subdir, so the subdir "common" isn't needed.
sim_common=no
;;
esac
subdirs="$subdirs testsuite"
if test "$sim_common" = yes; then
subdirs="$subdirs common"
fi
if test "$sim_igen" = yes; then
subdirs="$subdirs igen"

View file

@ -43,9 +43,6 @@ m4_define([SIM_ARCH], [
if test "${enable_sim}" != no; then
sinclude(configure.tgt)
AC_CONFIG_SUBDIRS(testsuite)
if test "$sim_common" = yes; then
AC_CONFIG_SUBDIRS(common)
fi
if test "$sim_igen" = yes; then
AC_CONFIG_SUBDIRS(igen)
fi

View file

@ -11,7 +11,6 @@ dnl the shell level, so use sinclude(...) to pull it in.
dnl glue to avoid code duplication at top level
m4_ifndef([SIM_ARCH], [AC_DEFUN([SIM_ARCH],[sim_arch=$1])])
sim_common=yes
sim_igen=no
sim_arch=
case "${target}" in
@ -102,9 +101,5 @@ case "${target}" in
SIM_ARCH(v850)
sim_igen=yes
;;
*)
# No simulator subdir, so the subdir "common" isn't needed.
sim_common=no
;;
esac
AC_SUBST(sim_arch)