source: rtems/c/src/lib/libcpu/powerpc/configure.ac @ c499856

4.11
Last change on this file since c499856 was 655bd39, checked in by Ric Claus <claus@…>, on Nov 30, 2012 at 11:58:32 PM

Virtex5 BSP: Various updates and improvements.

This BSP now uses the MPC6xx clock driver instead of a modified PPC403 clock
driver. Support for the MMU has been added, but is not enabled by default.

  • Property mode set to 100644
File size: 2.9 KB
Line 
1# Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libcpu-powerpc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
5AC_CONFIG_SRCDIR([mpc6xx])
6RTEMS_TOP([../../../../..],[../../..])
7
8RTEMS_CANONICAL_TARGET_CPU
9
10AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
11AM_MAINTAINER_MODE
12
13RTEMS_ENV_RTEMSBSP
14
15RTEMS_PROJECT_ROOT
16
17RTEMS_PROG_CC_FOR_TARGET
18AM_PROG_CC_C_O
19RTEMS_CANONICALIZE_TOOLS
20RTEMS_PROG_CCAS
21
22AM_CONDITIONAL(shared, \
23   test "$RTEMS_CPU_MODEL" = "" \
24|| test "$RTEMS_CPU_MODEL" = "mpc750" \
25|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
26|| test "$RTEMS_CPU_MODEL" = "mpc7455" \
27|| test "$RTEMS_CPU_MODEL" = "mpc7457" \
28|| test "$RTEMS_CPU_MODEL" = "mpc555" \
29|| test "$RTEMS_CPU_MODEL" = "mpc55xx" \
30|| test "$RTEMS_CPU_MODEL" = "mpc5xx" \
31|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
32|| test "$RTEMS_CPU_MODEL" = "ppc403" \
33|| test "$RTEMS_CPU_MODEL" = "ppc405" \
34|| test "$RTEMS_CPU_MODEL" = "ppc440" \
35|| test "$RTEMS_CPU_MODEL" = "mpc604" \
36|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
37|| test "$RTEMS_CPU_MODEL" = "mpc8xx" \
38|| test "$RTEMS_CPU_MODEL" = "mpc821" \
39|| test "$RTEMS_CPU_MODEL" = "mpc860" \
40|| test "$RTEMS_CPU_MODEL" = "mpc8240" \
41|| test "$RTEMS_CPU_MODEL" = "mpc8245" \
42|| test "$RTEMS_CPU_MODEL" = "mpc8260" \
43|| test "$RTEMS_CPU_MODEL" = "mpc83xx" \
44|| test "$RTEMS_CPU_MODEL" = "qoriq" \
45|| test "$RTEMS_CPU_MODEL" = "e500")
46
47# test on CPU type
48AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
49AM_CONDITIONAL(mpc55xx, test "$RTEMS_CPU_MODEL" = "mpc55xx")
50AM_CONDITIONAL(mpc5xx, test "$RTEMS_CPU_MODEL" = "mpc5xx" \
51|| test "$RTEMS_CPU_MODEL" = "mpc555" )
52AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
53|| test "$RTEMS_CPU_MODEL" = "mpc604" \
54|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
55|| test "$RTEMS_CPU_MODEL" = "mpc7455" \
56|| test "$RTEMS_CPU_MODEL" = "mpc7457" \
57|| test "$RTEMS_CPU_MODEL" = "mpc750" \
58|| test "$RTEMS_CPU_MODEL" = "mpc8240" \
59|| test "$RTEMS_CPU_MODEL" = "mpc8245" \
60|| test "$RTEMS_CPU_MODEL" = "mpc83xx")
61AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
62|| test "$RTEMS_CPU_MODEL" = "mpc821" \
63|| test "$RTEMS_CPU_MODEL" = "mpc860" )
64AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
65AM_CONDITIONAL(mpc83xx, test "$RTEMS_CPU_MODEL" = "mpc83xx")
66AM_CONDITIONAL(qoriq, test "$RTEMS_CPU_MODEL" = "qoriq")
67
68# the ppc405 share files with the ppc403
69AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
70AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405")
71AM_CONDITIONAL(ppc440, test "$RTEMS_CPU_MODEL" = "ppc440")
72AM_CONDITIONAL(ppc4xx, test "$RTEMS_CPU_MODEL" = "ppc403" \
73|| test "$RTEMS_CPU_MODEL" = "ppc405")
74
75AM_CONDITIONAL(e500, test "$RTEMS_CPU_MODEL" = "e500" \
76|| test "$RTEMS_CPU_MODEL" = "ppc440" \
77|| test "$RTEMS_CPU_MODEL" = "qoriq" )
78
79RTEMS_CHECK_NETWORKING
80AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
81
82RTEMS_AMPOLISH3
83
84# Explicitly list all Makefiles here
85AC_CONFIG_FILES([Makefile
86])
87AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.