source: rtems/c/src/lib/libbsp/sh/shsim/configure.ac @ 9b5c258

4.104.114.84.95
Last change on this file since 9b5c258 was 9b5c258, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/11/03 at 11:11:33

2003-02-11 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_PREREQ(2.57).
  • Property mode set to 100644
File size: 2.0 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.57)
6AC_INIT([rtems-c-src-lib-libbsp-sh-shsim],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([bsp_specs])
8RTEMS_TOP(../../../../../..)
9AC_CONFIG_AUX_DIR(../../../../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12AM_INIT_AUTOMAKE([no-define foreign 1.6])
13RTEMS_BSP_CONFIGURE
14
15RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
16RTEMS_CANONICALIZE_TOOLS
17
18
19## bsp-specific options
20RTEMS_BSP_ARG_ENABLE([console],
21[  --enable-console=[[null|gdbsci1]]],[
22  case $enable_console in
23  null)
24    BSP_CONSOLE_DEVNAME=\"/dev/null\"
25    BSP_CONSOLE_DRIVER_TABLE_ENTRY=DEVNULL_DRIVER_TABLE_ENTRY
26    ;;
27# Not yet
28#  trap34)
29#    BSP_CONSOLE_DEVNAME=\"/dev/trap34\"
30#    BSP_CONSOLE_DRIVER_TABLE_ENTRY=DEVTRAP34_DRIVER_TABLE_ENTRY
31#    ;;
32  yes|gdbsci1)
33    BSP_CONSOLE_DEVNAME=\"/dev/gdbsci1\"
34    BSP_CONSOLE_DRIVER_TABLE_ENTRY=DEVGDBSCI_DRIVER_TABLE_ENTRY
35    ;;
36  *) AC_MSG_WARN([bad value $enable_console for --enable-console=<value>])
37    ;;
38  esac],[
39    BSP_CONSOLE_DEVNAME=\"/dev/gdbsci1\"
40    BSP_CONSOLE_DRIVER_TABLE_ENTRY=DEVGDBSCI_DRIVER_TABLE_ENTRY
41])
42AC_DEFINE_UNQUOTED(
43  [BSP_CONSOLE_DEVNAME],
44  [${BSP_CONSOLE_DEVNAME}],
45  [device name to redirect the console to])
46AC_DEFINE_UNQUOTED(
47  [BSP_CONSOLE_DRIVER_TABLE_ENTRY],
48  [${BSP_CONSOLE_DRIVER_TABLE_ENTRY}],
49  [Driver table entry for the console device])
50
51##
52RTEMS_BSP_ARG_ENABLE([iomem-patch],
53[  --enable-iomem-patch=[[yes|no]]])
54if test x"$enable_iomem_patch" = x"yes"; then
55AC_DEFINE_UNQUOTED(
56  [HAVE_SHSIM_IOMEM_PATCH],
57  [1],
58  [whether support for functional IOMEM in shsim/gdb shall be enabled])
59fi
60
61RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[20000000])
62RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],
63[cpu clock rate in HZ])
64
65## Used in scitab/Makefile.am
66AC_SUBST(CPU_CLOCK_RATE_HZ)
67
68
69# Explicitly list all Makefiles here
70AC_CONFIG_FILES([Makefile
71clock/Makefile
72console/Makefile
73include/Makefile
74scitab/Makefile
75gdbsci/Makefile
76start/Makefile
77startup/Makefile
78wrapup/Makefile])
79AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.