source: rtems/c/src/lib/libbsp/sh/gensh4/configure.ac @ 6b366f73

4.104.114.84.95
Last change on this file since 6b366f73 was 6ce599c, checked in by Joel Sherrill <joel.sherrill@…>, on 10/15/01 at 18:01:50

2001-10-13 Ralf Corsepius <corsepiu@…>

  • configure.ac: Remove AC_SUBST(CPU_CLOCK_RATE_HZ), add START_HW_INIT-support macros, add console/Makefile.
  • Makefile.am: Add console SUBDIR.
  • hw_init/Makefile.am: Fix C_FILES, remove AM_CPPFLAGS/HZ.
  • include/Makefile.am: Add bspopts.h.
  • include/bsp.h: Comment out SH4_CPU_HZ_Frequency.
  • startup/bspstart.c: Comment out SH4_CPU_HZ_Frequency.
  • startup/linkcmds: Comment out OUTPUT_FORMAT for coff compatibility.
  • wrapup/Makefile.am: Add console to BSP_PIECES.
  • console/Makefile.am: New.
  • console/console.c: Moved from libcpu/sh/sh7750/sci/console.c.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.52)
6AC_INIT
7AC_CONFIG_SRCDIR([bsp_specs])
8RTEMS_TOP(../../../../../..)
9AC_CONFIG_AUX_DIR(../../../../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sh-gensh4,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
16RTEMS_CANONICALIZE_TOOLS
17
18RTEMS_ENV_RTEMSBSP
19RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
20RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
21RTEMS_CANONICAL_HOST
22
23## bsp-specific options
24CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-96000000}
25AC_DEFINE_UNQUOTED(
26  [CPU_CLOCK_RATE_HZ],
27  [$CPU_CLOCK_RATE_HZ],
28  [cpu clock rate in HZ])
29
30#  START_HW_INIT
31#       This switch selects whether 'early_hw_init()' is called from
32#       'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c'
33#
34START_HW_INIT=${START_HW_INIT-1}
35AC_DEFINE_UNQUOTED(
36  [START_HW_INIT],
37  [$START_HW_INIT],
38  [Whether to call early_hw_init from start.S])
39
40AM_CONFIG_HEADER(include/bspopts.h)
41RTEMS_PROJECT_ROOT
42
43# Explicitly list all Makefiles here
44AC_CONFIG_FILES([Makefile
45include/Makefile
46start/Makefile
47startup/Makefile
48hw_init/Makefile
49console/Makefile
50wrapup/Makefile
51])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.