Changeset 433d408 in rtems


Ignore:
Timestamp:
Jan 31, 2004, 3:27:43 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
001873b
Parents:
f5b1e5b
Message:

2004-01-31 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am. Use automake compilation rules.
  • clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Remove.
  • configure.ac: Reflect changes above.
Location:
c/src/lib/libbsp/mips/jmr3904
Files:
12 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/jmr3904/ChangeLog

    rf5b1e5b r433d408  
     12004-01-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am,
     4        start/Makefile.am, startup/Makefile.am, timer/Makefile.am,
     5        wrapup/Makefile.am. Use automake compilation rules.
     6        * clock/Makefile.am, console/Makefile.am, start/Makefile.am,
     7        startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Remove.
     8        * configure.ac: Reflect changes above.
     9
    1102004-01-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    211
  • c/src/lib/libbsp/mips/jmr3904/Makefile.am

    rf5b1e5b r433d408  
    77# wrapup is the one that actually builds and installs the library
    88# from the individual .rel files built in other directories
    9 SUBDIRS = . start startup clock console timer wrapup tools
     9SUBDIRS = . tools
    1010
     11include $(top_srcdir)/../../../../automake/compile.am
    1112include $(top_srcdir)/../../bsp.am
    1213
    13 nodist_include_HEADERS += $(top_srcdir)/../../shared/include/coverhd.h
     14EXTRA_PROGRAMS =
     15CLEANFILES =
     16noinst_DATA =
    1417
    15 all-local: $(PREINSTALL_FILES)
     18nodist_include_HEADERS += ../../shared/include/coverhd.h
     19
     20EXTRA_DIST = start/start.S start/regs.S
     21start$(LIB_VARIANT).$(OBJEXT): start/start.S
     22        ${CCASCOMPILE} -DASM -o $@ -c $<
     23project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
     24
     25dist_project_lib_DATA += startup/linkcmds
     26
     27EXTRA_PROGRAMS += clock.rel
     28CLEANFILES += clock.rel
     29clock_rel_SOURCES = clock/clockdrv.c
     30clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     31clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     32
     33EXTRA_PROGRAMS += clock_g.rel
     34CLEANFILES += clock_g.rel
     35clock_g_rel_SOURCES = $(clock_rel_SOURCES)
     36clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     37clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     38
     39noinst_DATA += clock$(LIB_VARIANT).rel
     40
     41EXTRA_PROGRAMS += console.rel
     42CLEANFILES += console.rel
     43console_rel_SOURCES = console/console-io.c ../../shared/console-polled.c
     44console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     45console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     46
     47EXTRA_PROGRAMS += console_g.rel
     48CLEANFILES += console_g.rel
     49console_g_rel_SOURCES = $(console_rel_SOURCES)
     50console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     51console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     52
     53noinst_DATA += console$(LIB_VARIANT).rel
     54
     55EXTRA_PROGRAMS += startup.rel
     56CLEANFILES += startup.rel
     57startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
     58    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
     59    ../../shared/main.c ../../shared/sbrk.c \
     60    ../../shared/gnatinstallhandler.c ../../shared/setvec.c
     61startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     62startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     63
     64EXTRA_PROGRAMS += startup_g.rel
     65CLEANFILES += startup_g.rel
     66startup_g_rel_SOURCES = $(startup_rel_SOURCES)
     67startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     68startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     69
     70noinst_DATA += startup$(LIB_VARIANT).rel
     71
     72EXTRA_PROGRAMS += timer.rel
     73CLEANFILES += timer.rel
     74timer_rel_SOURCES = timer/timer.c
     75timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     76timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     77
     78EXTRA_PROGRAMS += timer_g.rel
     79CLEANFILES += timer_g.rel
     80timer_g_rel_SOURCES = $(timer_rel_SOURCES)
     81timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     82timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     83
     84noinst_DATA += timer$(LIB_VARIANT).rel
     85
     86EXTRA_LIBRARIES = libbsp.a
     87CLEANFILES += libbsp.a
     88libbsp_a_SOURCES =
     89libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
     90    console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
     91libbsp_a_LIBADD += ../../../libcpu/mips/shared/cache$(LIB_VARIANT).rel \
     92    ../../../libcpu/mips/shared/interrupts$(LIB_VARIANT).rel \
     93    ../../../libcpu/mips/tx39/vectorisrs$(LIB_VARIANT).rel
     94
     95EXTRA_LIBRARIES += libbsp_g.a
     96CLEANFILES += libbsp_g.a
     97libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
     98libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
     99
     100noinst_DATA += libbsp$(LIB_VARIANT).a
     101
     102all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
    16103
    17104PREINSTALL_DIRS =
     105TMPINSTALL_FILES =
    18106
    19 $(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
     107$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
    20108        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
    21109PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
    22110
    23 CLEANFILES = $(PREINSTALL_FILES)
     111$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
     112        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
     113TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
     114
     115$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
     116        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
     117TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
     118
     119CLEANFILES += $(PREINSTALL_FILES)
    24120DISTCLEANFILES = $(PREINSTALL_DIRS)
     121CLEANFILES += $(TMPINSTALL_FILES)
    25122
    26 include $(top_srcdir)/../../../../automake/subdirs.am
    27123include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/mips/jmr3904/configure.ac

    rf5b1e5b r433d408  
    1919
    2020# Explicitly list all Makefiles here
    21 AC_CONFIG_FILES([Makefile
    22 clock/Makefile
    23 console/Makefile
    24 start/Makefile
    25 startup/Makefile
    26 timer/Makefile
    27 wrapup/Makefile])
     21AC_CONFIG_FILES([Makefile])
    2822AC_OUTPUT
  • c/src/lib/libbsp/mips/jmr3904/start/regs.S

    rf5b1e5b r433d408  
    6464#define PHYS_TO_K1(a)   ((unsigned)(a) | K1BASE)
    6565
    66 /* Standard Co-Processor 0 register numbers:
     66/* Standard Co-Processor 0 register numbers: */
    6767#define C0_COUNT        $9              /* Count Register */
    6868#define C0_SR           $12             /* Status Register */
  • c/src/lib/libbsp/mips/jmr3904/start/start.S

    rf5b1e5b r433d408  
    5151_start:
    5252        .set    noreorder
    53         # Get the address of start into $5 in a position independent fashion.
    54         # This lets us know whether we have been relocated or not.
    55        
     53        /* Get the address of start into $5 in a position independent fashion.
     54        ** This lets us know whether we have been relocated or not.
     55        */
    5656        $LF1 = . + 8
    5757        bal     $LF1
     
    6060        move    $5, $31                         # $5 == where are we
    6161        li      $6, 0x8800000c                  # $6 == where we want to be
    62         #la      $6,_branch
     62/*      #la      $6,_branch */
    6363        beq     $5, $6, _start_in_ram
    6464        nop
    65         # relocate the code from EEPROM to RAM
     65        /* relocate the code from EEPROM to RAM */
    6666        la      $7, _edata
    6767relocate:
     
    165165        nop
    166166
    167         # fall through to the "exit" routine
    168         jal     _sys_exit                       # call libc exit to run the G++
    169                                                 # destructors
    170         move    a0,v0                           # pass through the exit code
     167        /* fall through to the "exit" routine */
     168        jal     _sys_exit                       /* call libc exit to run the G++ */
     169                                                /* destructors */
     170        move    a0,v0                           /* pass through the exit code */
    171171        .end    init
    172172       
     
    187187        nop
    188188#endif
    189         # break instruction can cope with 0xfffff, but GAS limits the range:
     189        /* break instruction can cope with 0xfffff, but GAS limits the range: */
    190190        break   1023
    191191        nop
Note: See TracChangeset for help on using the changeset viewer.