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

4.104.114.84.9
Last change on this file since fcb0cd46 was fcb0cd46, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 2, 2006 at 6:06:55 AM

2006-12-02 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: New BUG-REPORT address.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.60)
6AC_INIT([rtems-c-src-lib-libbsp-sh-shsim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
7AC_CONFIG_SRCDIR([bsp_specs])
8RTEMS_TOP(../../../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10])
12RTEMS_BSP_CONFIGURE
13
14RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
15RTEMS_CANONICALIZE_TOOLS
16RTEMS_PROG_CCAS
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# Explicitly list all Makefiles here
68AC_CONFIG_FILES([Makefile])
69AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.