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