1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | |
---|
3 | AC_PREREQ([2.69]) |
---|
4 | AC_INIT([rtems-c-src-lib-libbsp-sparc-leon2], |
---|
5 | [_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
6 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
7 | RTEMS_TOP(../../../../../..) |
---|
8 | |
---|
9 | RTEMS_CANONICAL_TARGET_CPU |
---|
10 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) |
---|
11 | RTEMS_BSP_CONFIGURE |
---|
12 | |
---|
13 | RTEMS_PROG_CC_FOR_TARGET |
---|
14 | RTEMS_CANONICALIZE_TOOLS |
---|
15 | RTEMS_PROG_CCAS |
---|
16 | |
---|
17 | RTEMS_CHECK_NETWORKING |
---|
18 | RTEMS_CHECK_SMP |
---|
19 | |
---|
20 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
21 | AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"]) |
---|
22 | |
---|
23 | ## bsp-specific options |
---|
24 | RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0]) |
---|
25 | RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS], |
---|
26 | [The leon2 console driver can operate in either polled or interrupt mode. |
---|
27 | Under the simulator (especially when FAST_UART is defined), polled seems |
---|
28 | to operate better. It is common for a task to print a line (like the end |
---|
29 | of test message) and then exit. In this case, the program returns control |
---|
30 | to the simulator command line before the program has even queued the output |
---|
31 | to the uart. Thus sis has no chance of getting the data out.]) |
---|
32 | |
---|
33 | RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[]) |
---|
34 | RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE], |
---|
35 | [If defined, speed up the clock ticks while the idle task is running so |
---|
36 | time spent in the idle task is minimized. This significantly reduces |
---|
37 | the wall time required to execute the RTEMS test suites.]) |
---|
38 | |
---|
39 | RTEMS_BSPOPTS_SET([BSP_POWER_DOWN_AT_FATAL_HALT],[*],[]) |
---|
40 | RTEMS_BSPOPTS_HELP([BSP_POWER_DOWN_AT_FATAL_HALT], |
---|
41 | [If defined, CPU is spinning on fatal exit. Otherwise generate system |
---|
42 | error which will hand over to debugger, simulator, etc.]) |
---|
43 | |
---|
44 | RTEMS_BSP_CLEANUP_OPTIONS(0, 0, 1) |
---|
45 | |
---|
46 | # Explicitly list all Makefiles here |
---|
47 | AC_CONFIG_FILES([Makefile]) |
---|
48 | AC_OUTPUT |
---|