[d7aecdc] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
| 2 | ## |
---|
| 3 | ## $Id$ |
---|
| 4 | |
---|
[810720b6] | 5 | AC_PREREQ(2.59) |
---|
[7dcc3fe] | 6 | AC_INIT([rtems-c-src-lib-libbsp-sparc-erc32],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) |
---|
[d7aecdc] | 7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
| 8 | RTEMS_TOP(../../../../../..) |
---|
| 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
[810720b6] | 11 | AM_INIT_AUTOMAKE([no-define foreign 1.8]) |
---|
[9e1ae79] | 12 | RTEMS_BSP_CONFIGURE |
---|
[d7aecdc] | 13 | |
---|
| 14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
| 15 | RTEMS_CANONICALIZE_TOOLS |
---|
| 16 | |
---|
| 17 | RTEMS_CHECK_NETWORKING |
---|
| 18 | |
---|
| 19 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
| 20 | |
---|
| 21 | RTEMS_CONFIG_BUILD_SUBDIRS(tools) |
---|
| 22 | |
---|
| 23 | ## bsp-specific options |
---|
[ac43f07] | 24 | RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0]) |
---|
| 25 | RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS], |
---|
| 26 | [The erc32 console driver can operate in either polled or interrupt mode. |
---|
| 27 | Under the simulator (especially when FAST_UART is defined), polled seems to operate |
---|
| 28 | better. It is common for a task to print a line (like the end of test message) and |
---|
| 29 | then exit. In this case, the program returns control to the simulator command line |
---|
| 30 | before the program has even queued the output to the uart. Thus sis has no chance |
---|
| 31 | 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.]) |
---|
[d7aecdc] | 38 | |
---|
| 39 | # Explicitly list all Makefiles here |
---|
| 40 | AC_CONFIG_FILES([Makefile |
---|
| 41 | clock/Makefile |
---|
| 42 | console/Makefile |
---|
| 43 | erc32sonic/Makefile |
---|
| 44 | gnatsupp/Makefile |
---|
| 45 | startup/Makefile |
---|
| 46 | timer/Makefile |
---|
| 47 | wrapup/Makefile]) |
---|
| 48 | AC_OUTPUT |
---|