summaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-10 17:49:48 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 17:54:04 -0500
commite19418e02e25ae4c62eb95547220897fa6aaf2e0 (patch)
tree4dfa961801b444c829bf4ededd1209b74b6d50e3 /sim/common
parent16f7876d71604f835aefe48f0bf230c028c05d99 (diff)
sim: drop unused SIM_AC_OPTION_PACKAGES
This was imported from the ppc sim, but that was only used to control a single file, and that is already governed by the hw models. There's no need to have a sep configure option here, especially since none of the other sims are using it. Even when the code is enabled, there's no runtime overhead.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog7
-rw-r--r--sim/common/Make-common.in2
-rw-r--r--sim/common/acinclude.m427
-rwxr-xr-xsim/common/configure1
4 files changed, 7 insertions, 30 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index fee3deedf6..8afffa4482 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,12 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * acinclude.m4 (SIM_AC_OPTION_PACKAGES): Delete.
+ * configure: Regenerate.
+ * Make-common.in (SIM_PACKAGES): Delete.
+ (CONFIG_CFLAGS): Delete $(SIM_PACKAGES).
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ENVIRONMENT.
2016-01-10 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 72b095a964..49401dd335 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -90,7 +90,6 @@ SIM_HW_CFLAGS = @sim_hw_cflags@
SIM_HW_OBJS = @sim_hw_objs@
SIM_HW = @sim_hw@
SIM_INLINE = @sim_inline@
-SIM_PACKAGES = @sim_packages@
SIM_RESERVED_BITS = @sim_reserved_bits@
SIM_SCACHE = @sim_scache@
SIM_SMP = @sim_smp@
@@ -237,7 +236,6 @@ CONFIG_CFLAGS = \
$(SIM_FLOAT) \
$(SIM_HW_CFLAGS) \
$(SIM_INLINE) \
- $(SIM_PACKAGES) \
$(SIM_RESERVED_BITS) \
$(SIM_SCACHE) \
$(SIM_SMP) \
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index 9b62bcdd07..16e6d5c1c7 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -647,33 +647,6 @@ fi])dnl
AC_SUBST(sim_inline)
-AC_DEFUN([SIM_AC_OPTION_PACKAGES],
-[
-AC_ARG_ENABLE(sim-packages,
-[AS_HELP_STRING([--enable-sim-packages=list],
- [Specify the packages to be included in the build])],
-[packages=disklabel
-case "${enableval}" in
- yes) ;;
- no) AC_MSG_ERROR("List of packages must be specified for --enable-sim-packages"); packages="";;
- ,*) packages="${packages}${enableval}";;
- *,) packages="${enableval}${packages}";;
- *) packages="${enableval}"'';;
-esac
-sim_pk_src=`echo $packages | sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
-sim_pk_obj=`echo $sim_pk_src | sed -e 's/\.c/.o/g'`
-if test x"$silent" != x"yes" && test x"$packages" != x""; then
- echo "Setting packages to $sim_pk_src, $sim_pk_obj"
-fi],[packages=disklabel
-sim_pk_src=`echo $packages | sed -e 's/,/.c pk_/g' -e 's/^/pk_/' -e 's/$/.c/'`
-sim_pk_obj=`echo $sim_pk_src | sed -e 's/\.c/.o/g'`
-if test x"$silent" != x"yes"; then
- echo "Setting packages to $sim_pk_src, $sim_pk_obj"
-fi])dnl
-])
-AC_SUBST(sim_packages)
-
-
AC_DEFUN([SIM_AC_OPTION_RESERVED_BITS],
[
default_sim_reserved_bits="ifelse([$1],,1,[$1])"
diff --git a/sim/common/configure b/sim/common/configure
index ccb6ce562c..a02b1295cb 100755
--- a/sim/common/configure
+++ b/sim/common/configure
@@ -605,7 +605,6 @@ WARN_CFLAGS
sim_xor_endian
sim_smp
sim_reserved_bits
-sim_packages
sim_inline
sim_hw
sim_hw_objs