[41c9282] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
| 2 | |
---|
[0f77281] | 3 | AC_PREREQ([2.69]) |
---|
[363b1f7] | 4 | AC_INIT([rtems-c-src-lib-libbsp-sparc-leon3], |
---|
| 5 | [_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
[41c9282] | 6 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
| 7 | RTEMS_TOP(../../../../../..) |
---|
| 8 | |
---|
| 9 | RTEMS_CANONICAL_TARGET_CPU |
---|
[bb2b825] | 10 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) |
---|
[41c9282] | 11 | RTEMS_BSP_CONFIGURE |
---|
| 12 | |
---|
[218a2bb] | 13 | RTEMS_PROG_CC_FOR_TARGET |
---|
[41c9282] | 14 | RTEMS_CANONICALIZE_TOOLS |
---|
| 15 | RTEMS_PROG_CCAS |
---|
| 16 | |
---|
| 17 | RTEMS_CHECK_NETWORKING |
---|
[20546ace] | 18 | RTEMS_CHECK_SMP |
---|
[41c9282] | 19 | |
---|
| 20 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
[20546ace] | 21 | AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"]) |
---|
[41c9282] | 22 | |
---|
| 23 | ## bsp-specific options |
---|
| 24 | RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0]) |
---|
| 25 | RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS], |
---|
[bd7a91b] | 26 | [The leon3 console driver can operate in either polled or interrupt mode. |
---|
[363b1f7] | 27 | Under the simulator (especially when FAST_UART is defined), polled seems |
---|
| 28 | to operate better.]) |
---|
[41c9282] | 29 | |
---|
| 30 | RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[]) |
---|
| 31 | RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE], |
---|
| 32 | [If defined, speed up the clock ticks while the idle task is running so |
---|
| 33 | time spent in the idle task is minimized. This significantly reduces |
---|
| 34 | the wall time required to execute the RTEMS test suites.]) |
---|
| 35 | |
---|
[20546ace] | 36 | RTEMS_BSPOPTS_SET([BSP_LEON3_SMP],[*],[1]) |
---|
| 37 | RTEMS_BSPOPTS_HELP([BSP_LEON3_SMP], |
---|
| 38 | [Always defined when on a LEON3 to enable the LEON3 support for |
---|
| 39 | determining the CPU core number in an SMP configuration.]) |
---|
| 40 | |
---|
[8343aa41] | 41 | RTEMS_BSP_CLEANUP_OPTIONS(0, 1, 1) |
---|
[f204e31] | 42 | RTEMS_BSP_LINKCMDS |
---|
[4c94ffff] | 43 | |
---|
[41c9282] | 44 | # Explicitly list all Makefiles here |
---|
| 45 | AC_CONFIG_FILES([Makefile]) |
---|
| 46 | AC_OUTPUT |
---|