summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh1/configure.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-11 16:50:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-11 16:50:47 +0000
commitdaa93ce87cc246642e80dd6354289606cba9bda6 (patch)
tree5ad4c861bf260ed100767f9ef0bcb920189c1902 /c/src/lib/libbsp/sh/gensh1/configure.in
parent3aa441c9a00b4f2bea7b8c4f4be1ce0b58fb05b2 (diff)
downloadrtems-daa93ce87cc246642e80dd6354289606cba9bda6.tar.bz2
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), add bspopts.h. * include/.cvsignore: Add stamp-h*, bspopts.h*. * include/Makefile.am: Use include_HEADERS instead of H_FILES. * include/bsp.h: Add bspopts.h.
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh1/configure.in')
-rw-r--r--c/src/lib/libbsp/sh/gensh1/configure.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/sh/gensh1/configure.in b/c/src/lib/libbsp/sh/gensh1/configure.in
index 3b8b964c4d..9a75e5a212 100644
--- a/c/src/lib/libbsp/sh/gensh1/configure.in
+++ b/c/src/lib/libbsp/sh/gensh1/configure.in
@@ -11,7 +11,7 @@ RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sh-gensh1,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
-RTEMS_PROG_CC_FOR_TARGET
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
RTEMS_CANONICALIZE_TOOLS
RTEMS_ENV_RTEMSBSP
@@ -20,15 +20,15 @@ RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
RTEMS_CANONICAL_HOST
## bsp-specific options
-## setup environment variable
CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-20000000}
+AC_DEFINE_UNQUOTED([CPU_CLOCK_RATE_HZ],
+ [$CPU_CLOCK_RATE_HZ],
+ [cpu clock rate in HZ])
-## Propagate options to Makefile.ams
+## Used in scitab/Makefile.am
AC_SUBST(CPU_CLOCK_RATE_HZ)
-## Propagate options to compilation options/auto config headers
-AC_DEFINE_UNQUOTED([CPU_CLOCK_RATE_HZ],[$CPU_CLOCK_RATE_HZ],[cpu clock rate in HZ])
-
+AM_CONFIG_HEADER(include/bspopts.h)
RTEMS_PROJECT_ROOT
# Explicitly list all Makefiles here