forked from Imagelibrary/rtems
bsp/virtex: Rename file dlentry.S in start.S
Use default bsp_specs file.
This commit is contained in:
@@ -22,10 +22,11 @@ noinst_PROGRAMS =
|
|||||||
include_HEADERS += include/coverhd.h
|
include_HEADERS += include/coverhd.h
|
||||||
|
|
||||||
noinst_LIBRARIES = libbspstart.a
|
noinst_LIBRARIES = libbspstart.a
|
||||||
libbspstart_a_SOURCES = ../../powerpc/shared/start/rtems_crti.S
|
libbspstart_a_SOURCES = start/start.S
|
||||||
project_lib_DATA = rtems_crti.$(OBJEXT)
|
project_lib_DATA = start.$(OBJEXT)
|
||||||
|
|
||||||
dist_project_lib_DATA += startup/linkcmds
|
libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
|
||||||
|
project_lib_DATA += rtems_crti.$(OBJEXT)
|
||||||
|
|
||||||
noinst_LIBRARIES += libbsp.a
|
noinst_LIBRARIES += libbsp.a
|
||||||
libbsp_a_SOURCES =
|
libbsp_a_SOURCES =
|
||||||
@@ -36,8 +37,6 @@ libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bspgetworkarea.c \
|
|||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
|
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
|
||||||
../../shared/sbrk.c ../../shared/gnatinstallhandler.c
|
../../shared/sbrk.c ../../shared/gnatinstallhandler.c
|
||||||
# dlentry
|
|
||||||
libbsp_a_SOURCES += dlentry/dlentry.S
|
|
||||||
# bspconsole
|
# bspconsole
|
||||||
libbsp_a_SOURCES += console/consolelite.c ../../shared/console.c \
|
libbsp_a_SOURCES += console/consolelite.c ../../shared/console.c \
|
||||||
../../shared/console_select.c ../../shared/console_control.c \
|
../../shared/console_select.c ../../shared/console_control.c \
|
||||||
|
|||||||
@@ -3,13 +3,12 @@
|
|||||||
%rename link old_link
|
%rename link old_link
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
%{!qrtems: %(old_startfile)} %{!nostdlib: \
|
%{!qrtems: %(old_startfile)} \
|
||||||
%{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s \
|
%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s start.o%s}}
|
||||||
-u __vectors -u download_entry}}
|
|
||||||
|
|
||||||
*endfile:
|
*endfile:
|
||||||
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
|
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
|
||||||
|
|
||||||
*link:
|
*link:
|
||||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -N}
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,10 @@ $(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
|||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
||||||
|
|
||||||
|
$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
|
||||||
|
TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
|
||||||
|
|
||||||
$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
|
||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
|
TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
/* dlentry.s
|
/*
|
||||||
*
|
|
||||||
* This file contains the entry code for RTEMS programs starting
|
* This file contains the entry code for RTEMS programs starting
|
||||||
* after download to RAM
|
* after download to RAM
|
||||||
*
|
*
|
||||||
Reference in New Issue
Block a user