[rtems commit] bsps/powerpc: Remove unused RTEMS_CPU_MODEL

Sebastian Huber sebh at rtems.org
Thu Jan 4 06:21:18 UTC 2018


Module:    rtems
Branch:    master
Commit:    6494f7d0b23889bd6464649c822d5f11228a5225
Changeset: http://git.rtems.org/rtems/commit/?id=6494f7d0b23889bd6464649c822d5f11228a5225

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jan  3 09:17:02 2018 +0100

bsps/powerpc: Remove unused RTEMS_CPU_MODEL

---

 c/src/lib/libcpu/powerpc/configure.ac | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/c/src/lib/libcpu/powerpc/configure.ac b/c/src/lib/libcpu/powerpc/configure.ac
index 9f57922..81e6bfa 100644
--- a/c/src/lib/libcpu/powerpc/configure.ac
+++ b/c/src/lib/libcpu/powerpc/configure.ac
@@ -24,21 +24,14 @@ AM_CONDITIONAL(shared, \
 || test "$RTEMS_CPU_MODEL" = "mpc750" \
 || test "$RTEMS_CPU_MODEL" = "mpc7400" \
 || test "$RTEMS_CPU_MODEL" = "mpc7455" \
-|| test "$RTEMS_CPU_MODEL" = "mpc7457" \
 || test "$RTEMS_CPU_MODEL" = "mpc555" \
 || test "$RTEMS_CPU_MODEL" = "mpc55xx" \
-|| test "$RTEMS_CPU_MODEL" = "mpc5xx" \
-|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
-|| test "$RTEMS_CPU_MODEL" = "ppc403" \
 || test "$RTEMS_CPU_MODEL" = "ppc405" \
 || test "$RTEMS_CPU_MODEL" = "ppc440" \
 || test "$RTEMS_CPU_MODEL" = "mpc604" \
 || test "$RTEMS_CPU_MODEL" = "mpc6xx" \
-|| test "$RTEMS_CPU_MODEL" = "mpc8xx" \
-|| test "$RTEMS_CPU_MODEL" = "mpc821" \
 || test "$RTEMS_CPU_MODEL" = "mpc860" \
 || test "$RTEMS_CPU_MODEL" = "mpc8240" \
-|| test "$RTEMS_CPU_MODEL" = "mpc8245" \
 || test "$RTEMS_CPU_MODEL" = "mpc8260" \
 || test "$RTEMS_CPU_MODEL" = "mpc83xx" \
 || test "$RTEMS_CPU_MODEL" = "qoriq" \
@@ -47,30 +40,23 @@ AM_CONDITIONAL(shared, \
 # test on CPU type
 AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
 AM_CONDITIONAL(mpc55xx, test "$RTEMS_CPU_MODEL" = "mpc55xx")
-AM_CONDITIONAL(mpc5xx, test "$RTEMS_CPU_MODEL" = "mpc5xx" \
-|| test "$RTEMS_CPU_MODEL" = "mpc555" )
+AM_CONDITIONAL(mpc5xx, test "$RTEMS_CPU_MODEL" = "mpc555" )
 AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
 || test "$RTEMS_CPU_MODEL" = "mpc604" \
 || test "$RTEMS_CPU_MODEL" = "mpc7400" \
 || test "$RTEMS_CPU_MODEL" = "mpc7455" \
-|| test "$RTEMS_CPU_MODEL" = "mpc7457" \
 || test "$RTEMS_CPU_MODEL" = "mpc750" \
 || test "$RTEMS_CPU_MODEL" = "mpc8240" \
-|| test "$RTEMS_CPU_MODEL" = "mpc8245" \
 || test "$RTEMS_CPU_MODEL" = "mpc83xx")
-AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
-|| test "$RTEMS_CPU_MODEL" = "mpc821" \
-|| test "$RTEMS_CPU_MODEL" = "mpc860" )
+AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc860" )
 AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
 AM_CONDITIONAL(mpc83xx, test "$RTEMS_CPU_MODEL" = "mpc83xx")
 AM_CONDITIONAL(qoriq, test "$RTEMS_CPU_MODEL" = "qoriq")
 
 # the ppc405 share files with the ppc403
-AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
 AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405")
 AM_CONDITIONAL(ppc440, test "$RTEMS_CPU_MODEL" = "ppc440")
-AM_CONDITIONAL(ppc4xx, test "$RTEMS_CPU_MODEL" = "ppc403" \
-|| test "$RTEMS_CPU_MODEL" = "ppc405")
+AM_CONDITIONAL(ppc4xx, test "$RTEMS_CPU_MODEL" = "ppc405")
 
 AM_CONDITIONAL(e500_clock, test "$RTEMS_CPU_MODEL" = "e500" \
 || test "$RTEMS_CPU_MODEL" = "ppc440")



More information about the vc mailing list