Changeset ac815430 in rtems for c/src/lib/libcpu/sh/sh7045


Ignore:
Timestamp:
Jun 14, 2000, 5:07:54 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c63a5cf
Parents:
61bd0301
Message:

Patch rtems-rc-20000614-sh.tar.gz from Ralf Corsepius
<corsepiu@…> that migrates the SH port to
multilib'ing. This patch involved moving a number of
files in the CVS repository, adding new files, and
deleting files from their previous location. Ralf
gave good instructions (not repeated here) and here
are his notes:

Note 1: In this version, I did not change the installation points of
the headers which are moved inside of the source-tree. This is a
temporary hack for not breaking compatibility with 4.5 based BSPs,
but will probably not last once having real multilibs (We would have
include file conflicts when several BSPs/CPU_MODELS share a common
installation prefix).

Note 2: I hope not to have broken too much, but I would not be
astonished if something goes wrong.

Note 3: There are more patches to come :)

Location:
c/src/lib/libcpu/sh/sh7045
Files:
2 added
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sh/sh7045/Makefile.am

    r61bd0301 rac815430  
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
     6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    67
    7 SUBDIRS = include clock sci timer null
     8SUBDIRS = include score clock sci timer null
    89
    9 include $(top_srcdir)/../../../../../automake/subdirs.am
    10 include $(top_srcdir)/../../../../../automake/local.am
     10include $(top_srcdir)/../../../../../../automake/subdirs.am
     11include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7045/clock/Makefile.am

    r61bd0301 rac815430  
    1313
    1414include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    15 include $(top_srcdir)/../../../../../automake/lib.am
     15include $(top_srcdir)/../../../../../../automake/lib.am
    1616
    1717#
     
    2828EXTRA_DIST = ckinit.c
    2929
    30 include $(top_srcdir)/../../../../../automake/local.am
     30include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7045/include/Makefile.am

    r61bd0301 rac815430  
    66
    77H_FILES = io_types.h null.h sci.h sh7_pfc.h sh7_sci.h
     8SCORE_H_FILES = ispsh7045.h iosh7045.h
    89
    910# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
     
    1617        $(INSTALL_DATA) $< $@
    1718
     19$(PROJECT_INCLUDE)/rtems/score/%.h: %.h
     20        $(INSTALL_DATA) $< $@
     21
    1822TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \
    19     $(H_FILES:%=$(PROJECT_INCLUDE)/sh/%)
     23    $(H_FILES:%.h=$(PROJECT_INCLUDE)/sh/%.h) \
     24    $(SCORE_H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h)
    2025
    2126all-local: $(TMPINSTALL_FILES)
     
    2328EXTRA_DIST = io_types.h null.h sci.h sh7_pfc.h sh7_sci.h
    2429
    25 include $(top_srcdir)/../../../../../automake/local.am
     30include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7045/null/Makefile.am

    r61bd0301 rac815430  
    1313
    1414include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    15 include $(top_srcdir)/../../../../../automake/lib.am
     15include $(top_srcdir)/../../../../../../automake/lib.am
    1616
    1717#
     
    2828EXTRA_DIST = close.c cntrl.c init.c open.c read.c write.c
    2929
    30 include $(top_srcdir)/../../../../../automake/local.am
     30include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7045/sci/Makefile.am

    r61bd0301 rac815430  
    1313
    1414include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    15 include $(top_srcdir)/../../../../../automake/lib.am
     15include $(top_srcdir)/../../../../../../automake/lib.am
    1616
    1717#
     
    2828EXTRA_DIST = sci.c
    2929
    30 include $(top_srcdir)/../../../../../automake/local.am
     30include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c

    r61bd0301 rac815430  
    4444#include <rtems/score/sh.h>
    4545
    46 #if defined(sh7032)
    47 #include <rtems/score/ispsh7032.h>
    48 #include <rtems/score/iosh7032.h>
    49 #elif defined (sh7045)
    5046#include <rtems/score/ispsh7045.h>
    5147#include <rtems/score/iosh7045.h>
    52 #endif
    53 
    5448#include <rtems/score/sh_io.h>
    5549
  • c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c

    r61bd0301 rac815430  
    4343#include <rtems/system.h>
    4444#include <rtems/score/shtypes.h>
    45 
    46 #if !defined (sh7045)
    47 #error Wrong CPU MODEL
    48 #endif
    4945
    5046/*
  • c/src/lib/libcpu/sh/sh7045/timer/Makefile.am

    r61bd0301 rac815430  
    1313
    1414include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    15 include $(top_srcdir)/../../../../../automake/lib.am
     15include $(top_srcdir)/../../../../../../automake/lib.am
    1616
    1717#
     
    2828EXTRA_DIST = timer.c
    2929
    30 include $(top_srcdir)/../../../../../automake/local.am
     30include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.