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

4.104.114.84.95
Last change on this file since 7a5a3a41 was 7a5a3a41, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 5, 2004 at 7:17:01 AM

2004-01-05 Ralf Corsepius <corsepiu@…>

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