[e084576] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
| 2 | ## |
---|
| 3 | ## $Id$ |
---|
| 4 | |
---|
[754610f] | 5 | AC_PREREQ(2.60) |
---|
[fcb0cd46] | 6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-mpc8260ads],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
[22afde51] | 7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
[e084576] | 8 | RTEMS_TOP(../../../../../..) |
---|
| 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
[754610f] | 11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10]) |
---|
[9e1ae79] | 12 | RTEMS_BSP_CONFIGURE |
---|
[e084576] | 13 | |
---|
[22afde51] | 14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
[e084576] | 15 | RTEMS_CANONICALIZE_TOOLS |
---|
[f3c5a0ec] | 16 | RTEMS_PROG_CCAS |
---|
[e084576] | 17 | |
---|
[14e1c414] | 18 | RTEMS_BSPOPTS_SET([DATA_CACHE_ENABLE],[*],[0]) |
---|
| 19 | RTEMS_BSPOPTS_HELP([DATA_CACHE_ENABLE], |
---|
| 20 | [If defined, the data cache will be enabled after address translation |
---|
| 21 | is turned on.]) |
---|
| 22 | |
---|
| 23 | RTEMS_BSPOPTS_SET([INSTRUCTION_CACHE_ENABLE],[*],[0]) |
---|
| 24 | RTEMS_BSPOPTS_HELP([INSTRUCTION_CACHE_ENABLE], |
---|
| 25 | [If defined, the instruction cache will be enabled after address translation |
---|
| 26 | is turned on.]) |
---|
| 27 | |
---|
[36024a6c] | 28 | RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[*],[0]) |
---|
| 29 | RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS], |
---|
| 30 | [Define to 1 if you want termios support for every port. |
---|
| 31 | Termios support is independent of the choice of UART I/O mode.]) |
---|
| 32 | |
---|
| 33 | RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[SCC2_MINOR]) |
---|
| 34 | RTEMS_BSPOPTS_HELP([CONSOLE_MINOR], |
---|
| 35 | [(BSP--console driver) Must be defined to be one of SMC1_MINOR, |
---|
| 36 | SMC2_MINOR, SCC2_MINOR, SCC3_MINOR, or SCC4_MINOR. |
---|
| 37 | Determines which device will be registered as /dev/console.]) |
---|
| 38 | |
---|
| 39 | RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*],[0]) |
---|
| 40 | RTEMS_BSPOPTS_HELP([UARTS_IO_MODE], |
---|
| 41 | [(BSP--console driver) |
---|
| 42 | Define to 0 or 1 if you want polled I/O performed by RTEMS. |
---|
| 43 | Define to 1 if you want interrupt-driven performed by RTEMS. |
---|
| 44 | Define to 2 if you want polled I/O performed by EPPCBug. |
---|
| 45 | There is no provision to have a mix of interrupt-driven and polled I/O |
---|
| 46 | ports, except that the printk port may use a different mode from the |
---|
| 47 | other ports. If this is done, do not open the printk port from an RTEMS |
---|
| 48 | application. With EPPCBug 1.1, if mode 2 is selected, CONSOLE_MINOR |
---|
| 49 | must be set to SMC1_MINOR. This is a deficiency of the firmware: it |
---|
| 50 | does not perform serial I/O on any port other than its default debug |
---|
| 51 | port, which must be SMC1.]) |
---|
| 52 | |
---|
| 53 | RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[SMC2_MINOR]) |
---|
| 54 | RTEMS_BSPOPTS_HELP([PRINTK_MINOR], |
---|
| 55 | [(BSP--console driver) |
---|
| 56 | Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR, |
---|
| 57 | SCC3_MINOR, or SCC4_MINOR. Determines which device is used for output |
---|
| 58 | by printk(). If the port that printk() uses is also used for other |
---|
| 59 | I/O (e.g. if PRINTK_MINOR == \$CONSOLE_MINOR), then both ports should |
---|
| 60 | use the same type of I/O, otherwise the drivers will likely conflict with |
---|
| 61 | each other.]) |
---|
| 62 | |
---|
[e77a00a5] | 63 | RTEMS_BSPOPTS_SET([DISPATCH_HANDLER_STAT],[*],[]) |
---|
| 64 | RTEMS_BSPOPTS_HELP([DISPATCH_HANDLER_STAT], |
---|
| 65 | [used by irq/irq.c]) |
---|
| 66 | |
---|
[eccd3a3] | 67 | RTEMS_CHECK_NETWORKING |
---|
[e084576] | 68 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
| 69 | |
---|
| 70 | # Explicitly list a Makefile here |
---|
[5133bd6] | 71 | AC_CONFIG_FILES([Makefile]) |
---|
[36024a6c] | 72 | |
---|
[756f4a4] | 73 | RTEMS_PPC_EXCEPTIONS |
---|
[36024a6c] | 74 | |
---|
[22afde51] | 75 | AC_OUTPUT |
---|