summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shsim/configure.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-11 16:51:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-11 16:51:25 +0000
commitf86582c8148b1046a8a2cdf366db03bb63f8b047 (patch)
tree94d6a92bc4496b8c4bfecb81cc9064aa7230af4d /c/src/lib/libbsp/sh/shsim/configure.in
parent2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-f86582c8148b1046a8a2cdf366db03bb63f8b047.tar.bz2
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), adapt bspopts.h handling to other sh-BSPs. * include/.cvsignore: Add stamp-h*, bspopts.h*. * include/Makefile.am: Use include_HEADERS instead of H_FILES. * startup/bspstart.c: Reworked, based on the amos BSP.
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/configure.in')
-rw-r--r--c/src/lib/libbsp/sh/shsim/configure.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/configure.in b/c/src/lib/libbsp/sh/shsim/configure.in
index b1bee213ce..1e2eaf60be 100644
--- a/c/src/lib/libbsp/sh/shsim/configure.in
+++ b/c/src/lib/libbsp/sh/shsim/configure.in
@@ -11,7 +11,7 @@ RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sh-shsim,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
-RTEMS_PROG_CC_FOR_TARGET
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
RTEMS_CANONICALIZE_TOOLS
RTEMS_ENV_RTEMSBSP
@@ -60,17 +60,18 @@ AC_DEFINE_UNQUOTED(
[whether support for functional IOMEM in shsim/gdb shall be enabled])
fi
-## setup environment variable
+## bsp-specific options
CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-20000000}
AC_SUBST(CPU_CLOCK_RATE_HZ)
-## Propagate option to config header
AC_DEFINE_UNQUOTED(
[CPU_CLOCK_RATE_HZ],
[$CPU_CLOCK_RATE_HZ],
[cpu clock rate in HZ])
-AM_CONFIG_HEADER(include/bspopts.h)
+## Used in scitab/Makefile.am
+AC_SUBST(CPU_CLOCK_RATE_HZ)
+AM_CONFIG_HEADER(include/bspopts.h)
RTEMS_PROJECT_ROOT
# Explicitly list all Makefiles here