[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-sh-gensh2],[_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 | ## bsp-specific options |
---|
[d516bbf] | 18 | RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[29491200]) |
---|
| 19 | RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],[cpu clock rate in HZ]) |
---|
[d7aecdc] | 20 | |
---|
| 21 | ## Used in scitab/Makefile.am |
---|
| 22 | AC_SUBST(CPU_CLOCK_RATE_HZ) |
---|
| 23 | |
---|
[d516bbf] | 24 | RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[]) |
---|
| 25 | RTEMS_BSPOPTS_HELP([START_HW_INIT], |
---|
| 26 | [If defined, selects whether 'early_hw_init()' is called from 'start.S'; |
---|
| 27 | 'bsp_hw_init()' is always called from 'bspstart.c']) |
---|
| 28 | |
---|
| 29 | RTEMS_BSPOPTS_SET([STANDALONE_EVB],[*],[]) |
---|
| 30 | RTEMS_BSPOPTS_HELP([STANDALONE_EVB], |
---|
| 31 | [If defined, compiles code to jump-start from FLASH, without a monitor]) |
---|
| 32 | |
---|
[d7aecdc] | 33 | # Explicitly list all Makefiles here |
---|
| 34 | AC_CONFIG_FILES([Makefile |
---|
| 35 | console/Makefile |
---|
| 36 | scitab/Makefile |
---|
| 37 | startup/Makefile |
---|
| 38 | wrapup/Makefile]) |
---|
| 39 | AC_OUTPUT |
---|