source: rtems/c/src/lib/libbsp/sh/shsim/configure.ac @ 3dd381f

5
Last change on this file since 3dd381f was 3dd381f, checked in by Sebastian Huber <sebastian.huber@…>, on 11/21/17 at 11:50:58

bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONS

Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify
the BSP configuration and documentation. Change defaults to:

BSP_PRESS_KEY_FOR_RESET=0
BSP_RESET_BOARD_AT_EXIT=1
BSP_PRINT_EXCEPTION_CONTEXT=1

  • Property mode set to 100644
File size: 1.1 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libbsp-sh-shsim],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
5AC_CONFIG_SRCDIR([bsp_specs])
6RTEMS_TOP(../../../../../..)
7
8RTEMS_CANONICAL_TARGET_CPU
9AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
10RTEMS_BSP_CONFIGURE
11
12RTEMS_PROG_CC_FOR_TARGET
13RTEMS_CANONICALIZE_TOOLS
14RTEMS_PROG_CCAS
15
16##
17RTEMS_BSP_ARG_ENABLE([iomem-patch],
18[  --enable-iomem-patch=[[yes|no]]])
19if test x"$enable_iomem_patch" = x"yes"; then
20AC_DEFINE_UNQUOTED(
21  [HAVE_SHSIM_IOMEM_PATCH],
22  [1],
23  [whether support for functional IOMEM in shsim/gdb shall be enabled])
24fi
25
26RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[20000000])
27RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],
28[cpu clock rate in HZ])
29
30RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
31RTEMS_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## Used in scitab/Makefile.am
36AC_SUBST(CPU_CLOCK_RATE_HZ)
37
38RTEMS_BSP_CLEANUP_OPTIONS
39
40# Explicitly list all Makefiles here
41AC_CONFIG_FILES([Makefile])
42AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.