forked from Imagelibrary/rtems
ss555: Add rtems_crti/n
This commit is contained in:
@@ -20,6 +20,11 @@ EXTRA_DIST = times
|
|||||||
|
|
||||||
dist_project_lib_DATA += startup/linkcmds
|
dist_project_lib_DATA += startup/linkcmds
|
||||||
|
|
||||||
|
EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
|
||||||
|
rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
|
||||||
|
$(CPPASCOMPILE) -o $@ -c $<
|
||||||
|
project_lib_DATA = rtems_crti.$(OBJEXT)
|
||||||
|
|
||||||
noinst_LIBRARIES = libbsp.a
|
noinst_LIBRARIES = libbsp.a
|
||||||
libbsp_a_SOURCES =
|
libbsp_a_SOURCES =
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
%{!qrtems: %(old_startfile)} \
|
%{!qrtems: %(old_startfile)} \
|
||||||
%{!nostdlib: %{qrtems: ecrti%O%s -u __vectors -N -u start -e start}}
|
%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s -u __vectors -N -u start -e start}}
|
||||||
|
|
||||||
*endfile:
|
*endfile:
|
||||||
%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
|
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
|
||||||
|
|
||||||
*link:
|
*link:
|
||||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp}
|
%{!qrtems: %(old_link)} %{qrtems: -dc -dp}
|
||||||
|
|||||||
@@ -8,10 +8,15 @@ endif
|
|||||||
PREINSTALL_DIRS =
|
PREINSTALL_DIRS =
|
||||||
DISTCLEANFILES += $(PREINSTALL_DIRS)
|
DISTCLEANFILES += $(PREINSTALL_DIRS)
|
||||||
|
|
||||||
|
all-local: $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
TMPINSTALL_FILES =
|
||||||
|
CLEANFILES = $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
all-am: $(PREINSTALL_FILES)
|
all-am: $(PREINSTALL_FILES)
|
||||||
|
|
||||||
PREINSTALL_FILES =
|
PREINSTALL_FILES =
|
||||||
CLEANFILES = $(PREINSTALL_FILES)
|
CLEANFILES += $(PREINSTALL_FILES)
|
||||||
|
|
||||||
$(PROJECT_LIB)/$(dirstamp):
|
$(PROJECT_LIB)/$(dirstamp):
|
||||||
@$(MKDIR_P) $(PROJECT_LIB)
|
@$(MKDIR_P) $(PROJECT_LIB)
|
||||||
@@ -60,3 +65,7 @@ $(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
|
|||||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
|
||||||
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
|
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
|
||||||
|
|
||||||
|
$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
|
||||||
|
TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user