[d7aecdc] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
| 2 | ## |
---|
| 3 | ## $Id$ |
---|
| 4 | |
---|
| 5 | AC_PREREQ(2.52) |
---|
[7fb5793] | 6 | AC_INIT([rtems-c-src-lib-libbsp-sh-gensh2],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com]) |
---|
[d7aecdc] | 7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
| 8 | RTEMS_TOP(../../../../../..) |
---|
| 9 | AC_CONFIG_AUX_DIR(../../../../../..) |
---|
| 10 | |
---|
| 11 | RTEMS_CANONICAL_TARGET_CPU |
---|
[7fb5793] | 12 | AM_INIT_AUTOMAKE([no-define foreign 1.6]) |
---|
[9e1ae79] | 13 | RTEMS_BSP_CONFIGURE |
---|
[d7aecdc] | 14 | |
---|
| 15 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
| 16 | RTEMS_CANONICALIZE_TOOLS |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | ## bsp-specific options |
---|
[d516bbf] | 20 | RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[29491200]) |
---|
| 21 | RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],[cpu clock rate in HZ]) |
---|
[d7aecdc] | 22 | |
---|
| 23 | ## Used in scitab/Makefile.am |
---|
| 24 | AC_SUBST(CPU_CLOCK_RATE_HZ) |
---|
| 25 | |
---|
[d516bbf] | 26 | RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[]) |
---|
| 27 | RTEMS_BSPOPTS_HELP([START_HW_INIT], |
---|
| 28 | [If defined, selects whether 'early_hw_init()' is called from 'start.S'; |
---|
| 29 | 'bsp_hw_init()' is always called from 'bspstart.c']) |
---|
| 30 | |
---|
| 31 | RTEMS_BSPOPTS_SET([STANDALONE_EVB],[*],[]) |
---|
| 32 | RTEMS_BSPOPTS_HELP([STANDALONE_EVB], |
---|
| 33 | [If defined, compiles code to jump-start from FLASH, without a monitor]) |
---|
| 34 | |
---|
[d7aecdc] | 35 | |
---|
| 36 | # Explicitly list all Makefiles here |
---|
| 37 | AC_CONFIG_FILES([Makefile |
---|
| 38 | console/Makefile |
---|
| 39 | include/Makefile |
---|
| 40 | scitab/Makefile |
---|
| 41 | start/Makefile |
---|
| 42 | startup/Makefile |
---|
| 43 | wrapup/Makefile]) |
---|
| 44 | AC_OUTPUT |
---|