Changeset 5dbd4fe in rtems


Ignore:
Timestamp:
May 11, 2001, 4:51:06 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f86582c8
Parents:
daa93ce8
Message:

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

  • 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.
  • startup/bspstart.c: Replace HZ w/ CPU_CLOCK_RATE_HZ.
Location:
c/src/lib/libbsp/sh/gensh2
Files:
6 edited

Legend:

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

    rdaa93ce8 r5dbd4fe  
     12001-05-10      Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), add
     4        bspopts.h.     
     5        * include/.cvsignore: Add stamp-h*, bspopts.h*.
     6        * include/Makefile.am: Use include_HEADERS instead of H_FILES.
     7        * include/bsp.h: Add bspopts.h.
     8        * startup/bspstart.c: Replace HZ w/ CPU_CLOCK_RATE_HZ.
     9
    1102001-01-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    211
  • c/src/lib/libbsp/sh/gensh2/configure.in

    rdaa93ce8 r5dbd4fe  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_PROG_CC_FOR_TARGET
     14RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
    1515RTEMS_CANONICALIZE_TOOLS
    1616
     
    2020RTEMS_CANONICAL_HOST
    2121
     22## bsp-specific options
     23CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-29491200}
     24AC_DEFINE_UNQUOTED([CPU_CLOCK_RATE_HZ],
     25  [$CPU_CLOCK_RATE_HZ],
     26  [cpu clock rate in HZ])
     27
     28## Used in scitab/Makefile.am
     29AC_SUBST(CPU_CLOCK_RATE_HZ)
     30
     31AM_CONFIG_HEADER(include/bspopts.h)
    2232RTEMS_PROJECT_ROOT
    2333
  • c/src/lib/libbsp/sh/gensh2/include/.cvsignore

    rdaa93ce8 r5dbd4fe  
    11Makefile
    22Makefile.in
     3stamp-h
     4stamp-h.in
     5bspopts.h
     6bspopts.h.in
  • c/src/lib/libbsp/sh/gensh2/include/Makefile.am

    rdaa93ce8 r5dbd4fe  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 H_FILES = bsp.h coverhd.h
     7include_HEADERS = bsp.h bspopts.h coverhd.h
    88
    99$(PROJECT_INCLUDE)/%.h: %.h
    1010        $(INSTALL_DATA) $< $@
    1111
    12 PREINSTALL_FILES += $(H_FILES:%.h=$(PROJECT_INCLUDE)/%.h)
     12PREINSTALL_FILES += $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
    1313
    1414all-local: $(PREINSTALL_FILES)
    1515
    16 EXTRA_DIST = bsp.h coverhd.h
    17 
    1816include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/sh/gensh2/include/bsp.h

    rdaa93ce8 r5dbd4fe  
    4545#include <clockdrv.h>
    4646#include <console.h>
     47
     48#include <bspopts.h>
    4749
    4850/*
  • c/src/lib/libbsp/sh/gensh2/startup/bspstart.c

    rdaa93ce8 r5dbd4fe  
    138138#endif
    139139
    140   Cpu_table.clicks_per_second = HZ ;
     140  Cpu_table.clicks_per_second = CPU_CLOCK_RATE_HZ ;
    141141}
Note: See TracChangeset for help on using the changeset viewer.