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

4.104.114.84.95
Last change on this file since e9aa9bb0 was e9aa9bb0, checked in by Eric Norum <WENorum@…>, on Oct 20, 2004 at 3:23:55 PM

Add MPC7455 support.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.59)
6AC_INIT([rtems-c-src-lib-libcpu-powerpc],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
7AC_CONFIG_SRCDIR([mpc6xx])
8RTEMS_TOP([../../../../..],[../../..])
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE([no-define foreign 1.9])
13AM_MAINTAINER_MODE
14
15RTEMS_ENV_RTEMSBSP
16
17RTEMS_PROJECT_ROOT
18
19RTEMS_PROG_CC_FOR_TARGET
20RTEMS_CANONICALIZE_TOOLS
21RTEMS_PROG_CCAS
22
23AM_CONDITIONAL(shared, \
24   test "$RTEMS_CPU_MODEL" = "mpc750" \
25|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
26|| test "$RTEMS_CPU_MODEL" = "mpc7455" \
27|| test "$RTEMS_CPU_MODEL" = "mpc555" \
28|| test "$RTEMS_CPU_MODEL" = "mpc5xx" \
29|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
30|| test "$RTEMS_CPU_MODEL" = "mpc604" \
31|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
32|| test "$RTEMS_CPU_MODEL" = "mpc821" \
33|| test "$RTEMS_CPU_MODEL" = "mpc860" \
34|| test "$RTEMS_CPU_MODEL" = "mpc8260" \
35|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
36
37## test on CPU type
38AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
39AM_CONDITIONAL(mpc5xx, test "$RTEMS_CPU_MODEL" = "mpc5xx" \
40|| test "$RTEMS_CPU_MODEL" = "mpc555" )
41AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
42|| test "$RTEMS_CPU_MODEL" = "mpc604" \
43|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
44|| test "$RTEMS_CPU_MODEL" = "mpc7455" \
45|| test "$RTEMS_CPU_MODEL" = "mpc750" )
46AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
47|| test "$RTEMS_CPU_MODEL" = "mpc821" \
48|| test "$RTEMS_CPU_MODEL" = "mpc860" )
49AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
50
51# the ppc405 shares files with the ppc403
52AM_CONDITIONAL(ppc403,[test "$RTEMS_CPU_MODEL" = "ppc403" \
53|| test "$RTEMS_CPU_MODEL" = "ppc405"])
54AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405")
55
56# Explicitly list all Makefiles here
57AC_CONFIG_FILES([Makefile
58mpc5xx/Makefile
59mpc505/Makefile
60mpc8xx/Makefile
61ppc403/Makefile
62mpc6xx/Makefile
63mpc8260/Makefile
64shared/Makefile
65])
66AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.