[d7aecdc] | 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-erc32], |
---|
[12072880] | 5 | [_RTEMS_VERSION],[https://devel.rtems.org/newticket]) |
---|
[d7aecdc] | 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]) |
---|
[9e1ae79] | 11 | RTEMS_BSP_CONFIGURE |
---|
[d7aecdc] | 12 | |
---|
[218a2bb] | 13 | RTEMS_PROG_CC_FOR_TARGET |
---|
[d7aecdc] | 14 | RTEMS_CANONICALIZE_TOOLS |
---|
[e4453d0] | 15 | RTEMS_PROG_CCAS |
---|
[d7aecdc] | 16 | |
---|
| 17 | RTEMS_CHECK_NETWORKING |
---|
[20546ace] | 18 | RTEMS_CHECK_SMP |
---|
[d7aecdc] | 19 | |
---|
| 20 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
[20546ace] | 21 | AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"]) |
---|
[d7aecdc] | 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. |
---|
[363b1f7] | 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.]) |
---|
[ac43f07] | 32 | |
---|
[9bd7b3b1] | 33 | RTEMS_BSPOPTS_SET([BSP_POWER_DOWN_AT_FATAL_HALT],[*],[]) |
---|
| 34 | RTEMS_BSPOPTS_HELP([BSP_POWER_DOWN_AT_FATAL_HALT], |
---|
| 35 | [If defined, CPU is spinning on fatal exit. Otherwise generate system |
---|
| 36 | error which will hand over to debugger, simulator, etc.]) |
---|
| 37 | |
---|
[74f5eaf] | 38 | RTEMS_BSP_CLEANUP_OPTIONS(0, 0, 1) |
---|
[5e5d0b1] | 39 | |
---|
[d7aecdc] | 40 | # Explicitly list all Makefiles here |
---|
[e4453d0] | 41 | AC_CONFIG_FILES([Makefile]) |
---|
[d7aecdc] | 42 | AC_OUTPUT |
---|