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],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
5 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
6 | RTEMS_TOP(../../../../../..) |
---|
7 | |
---|
8 | RTEMS_CANONICAL_TARGET_CPU |
---|
9 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) |
---|
10 | RTEMS_BSP_CONFIGURE |
---|
11 | |
---|
12 | RTEMS_PROG_CC_FOR_TARGET |
---|
13 | RTEMS_CANONICALIZE_TOOLS |
---|
14 | RTEMS_PROG_CCAS |
---|
15 | |
---|
16 | RTEMS_CHECK_NETWORKING |
---|
17 | RTEMS_CHECK_SMP |
---|
18 | |
---|
19 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
20 | AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"]) |
---|
21 | |
---|
22 | ## bsp-specific options |
---|
23 | RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0]) |
---|
24 | RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS], |
---|
25 | [The leon2 console driver can operate in either polled or interrupt mode. |
---|
26 | Under the simulator (especially when FAST_UART is defined), polled seems to operate |
---|
27 | better. It is common for a task to print a line (like the end of test message) and |
---|
28 | then exit. In this case, the program returns control to the simulator command line |
---|
29 | before the program has even queued the output to the uart. Thus sis has no chance |
---|
30 | of getting the data out.]) |
---|
31 | |
---|
32 | RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[]) |
---|
33 | RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE], |
---|
34 | [If defined, speed up the clock ticks while the idle task is running so |
---|
35 | time spent in the idle task is minimized. This significantly reduces |
---|
36 | the wall time required to execute the RTEMS test suites.]) |
---|
37 | |
---|
38 | RTEMS_BSP_CLEANUP_OPTIONS(0, 1) |
---|
39 | |
---|
40 | # Explicitly list all Makefiles here |
---|
41 | AC_CONFIG_FILES([Makefile]) |
---|
42 | AC_OUTPUT |
---|