Changeset 6ce599c in rtems


Ignore:
Timestamp:
Oct 15, 2001, 6:01:50 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
473ed53
Parents:
12ae6d9e
Message:

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.
Location:
c/src/lib/libbsp/sh/gensh4
Files:
2 added
9 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/gensh4/ChangeLog

    r12ae6d9e r6ce599c  
     12001-10-13      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: Remove AC_SUBST(CPU_CLOCK_RATE_HZ), add
     4        START_HW_INIT-support macros, add console/Makefile.
     5        * Makefile.am: Add console SUBDIR.
     6        * hw_init/Makefile.am: Fix C_FILES, remove AM_CPPFLAGS/HZ.
     7        * include/Makefile.am: Add bspopts.h.
     8        * include/bsp.h: Comment out SH4_CPU_HZ_Frequency.
     9        * startup/bspstart.c: Comment out SH4_CPU_HZ_Frequency.
     10        * startup/linkcmds: Comment out OUTPUT_FORMAT for coff
     11        compatibility.
     12        * wrapup/Makefile.am: Add console to BSP_PIECES.
     13        * console/Makefile.am: New.
     14        * console/console.c: Moved from libcpu/sh/sh7750/sci/console.c.
     15
    1162001-10-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    217
  • c/src/lib/libbsp/sh/gensh4/Makefile.am

    r12ae6d9e r6ce599c  
    88## wrapup is the one that actually builds and installs the library
    99##  from the individual .rel files built in other directories
    10 SUBDIRS = include start startup hw_init wrapup
     10SUBDIRS = include start startup console hw_init wrapup
    1111
    1212include $(top_srcdir)/../../bsp.am
  • c/src/lib/libbsp/sh/gensh4/configure.ac

    r12ae6d9e r6ce599c  
    2323## bsp-specific options
    2424CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-96000000}
    25 AC_SUBST(CPU_CLOCK_RATE_HZ)
    2625AC_DEFINE_UNQUOTED(
    2726  [CPU_CLOCK_RATE_HZ],
    2827  [$CPU_CLOCK_RATE_HZ],
    2928  [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])
    3039
    3140AM_CONFIG_HEADER(include/bspopts.h)
     
    3847startup/Makefile
    3948hw_init/Makefile
     49console/Makefile
    4050wrapup/Makefile
    4151])
  • c/src/lib/libbsp/sh/gensh4/hw_init/Makefile.am

    r12ae6d9e r6ce599c  
    99PGM = $(ARCH)/hw_init.rel
    1010
    11 #C_FILES = hw_init.c bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c \
    12 #    bootcard.c main.c gnatinstallhandler.c
    1311C_FILES = hw_init.c
    14 
    1512C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1613
     
    2522#
    2623
    27 AM_CPPFLAGS += -DHZ=$(HZ)
     24## FIXME: This is gcc-specific.
    2825AM_CFLAGS += -fomit-frame-pointer
    2926
  • c/src/lib/libbsp/sh/gensh4/include/Makefile.am

    r12ae6d9e r6ce599c  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 include_HEADERS = bsp.h coverhd.h sdram.h
     7include_HEADERS = bsp.h bspopts.h coverhd.h sdram.h
    88
    99$(PROJECT_INCLUDE)/%.h: %.h
  • c/src/lib/libbsp/sh/gensh4/include/bsp.h

    r12ae6d9e r6ce599c  
    135135extern void *CPU_Interrupt_stack_high ;
    136136
     137#if OBSOLETE
    137138/*
    138139 * This variable is nesessary for console driver.
    139140 */
    140141extern rtems_unsigned32 SH4_CPU_HZ_Frequency;
     142#endif
    141143
    142144/*
  • c/src/lib/libbsp/sh/gensh4/startup/bspstart.c

    r12ae6d9e r6ce599c  
    4747char *rtems_progname;
    4848
     49#if OBSOLETE
    4950/*
    5051 * This variable is nesessary for console driver.
    5152 */
    5253unsigned32 SH4_CPU_HZ_Frequency = CPU_CLOCK_RATE_HZ;
     54#endif
    5355
    5456/*
  • c/src/lib/libbsp/sh/gensh4/startup/linkcmds

    r12ae6d9e r6ce599c  
    1717 */
    1818
    19 
     19/*
    2020OUTPUT_FORMAT("elf32-shl", "elf32-shl",
    2121              "elf32-shl")
     22 */
    2223OUTPUT_ARCH(sh)
    2324ENTRY(_start)
  • c/src/lib/libbsp/sh/gensh4/wrapup/Makefile.am

    r12ae6d9e r6ce599c  
    77AUTOMAKE_OPTIONS = foreign 1.4
    88
    9 BSP_PIECES = startup hw_init
     9BSP_PIECES = startup hw_init console
    1010
    1111# pieces to pick up out of libcpu/sh/sh7750
Note: See TracChangeset for help on using the changeset viewer.