source: rtems/c/src/lib/libbsp/sh/shsim/configure.ac @ 62be4c5

Last change on this file since 62be4c5 was 74e2998, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 11, 2003 at 2:41:57 PM

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

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