Changeset e2782684 in rtems


Ignore:
Timestamp:
Apr 22, 2014, 7:32:16 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
d60e760
Parents:
e10574a
git-author:
Sebastian Huber <sebastian.huber@…> (04/22/14 07:32:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/22/14 07:36:48)
Message:

bsp/mbx8xx: Fix Makefile.am and bsp_specs

Location:
c/src/lib/libbsp/powerpc/mbx8xx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am

    re10574a re2782684  
    2626dist_project_lib_DATA += startup/linkcmds
    2727
    28 noinst_LIBRARIES = libbsp.a
     28noinst_LIBRARIES = libbspstart.a
     29libbspstart_a_SOURCES = start/start.S
     30project_lib_DATA = start.$(OBJEXT)
     31
     32libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
     33project_lib_DATA += rtems_crti.$(OBJEXT)
     34
     35noinst_LIBRARIES += libbsp.a
    2936libbsp_a_SOURCES =
    3037
     
    4956    startup/bspstart.c ../../shared/bootcard.c \
    5057    startup/imbx8xx.c startup/mmutlbtab.c \
    51     ../../shared/sbrk.c ../../shared/gnatinstallhandler.c start/start.S
     58    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
    5259
    5360if HAS_NETWORKING
  • c/src/lib/libbsp/powerpc/mbx8xx/bsp_specs

    re10574a re2782684  
    55*startfile:
    66%{!qrtems: %(old_startfile)} \
    7 %{!nostdlib: %{qrtems: ecrti%O%s -e start}}
     7%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s  crtbegin.o%s start.o%s}}
    88
    99*endfile:
    10 %{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
     10%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
    1111
    1212*link:
  • c/src/lib/libbsp/powerpc/mbx8xx/preinstall.am

    re10574a re2782684  
    99DISTCLEANFILES += $(PREINSTALL_DIRS)
    1010
     11all-local: $(TMPINSTALL_FILES)
     12
     13TMPINSTALL_FILES =
     14CLEANFILES = $(TMPINSTALL_FILES)
     15
    1116all-am: $(PREINSTALL_FILES)
    1217
    1318PREINSTALL_FILES =
    14 CLEANFILES = $(PREINSTALL_FILES)
     19CLEANFILES += $(PREINSTALL_FILES)
    1520
    1621$(PROJECT_LIB)/$(dirstamp):
     
    8186PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
    8287
     88$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
     89        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
     90TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
     91
     92$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
     93        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
     94TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
     95
  • c/src/lib/libbsp/powerpc/mbx8xx/start/start.S

    re10574a re2782684  
    206206        .section .entry
    207207
    208         PUBLIC_VAR (start)
    209 SYM(start):
     208        PUBLIC_VAR (_start)
     209SYM(_start):
    210210        bl      .startup        /* or bl .spin */
    211211base_addr:
Note: See TracChangeset for help on using the changeset viewer.