forked from Imagelibrary/rtems
bsp/leon3: Enable linker script variants
This commit is contained in:
@@ -23,7 +23,9 @@ noinst_LIBRARIES = libbspstart.a
|
|||||||
libbspstart_a_SOURCES = ../../sparc/shared/start.S
|
libbspstart_a_SOURCES = ../../sparc/shared/start.S
|
||||||
project_lib_DATA = start.$(OBJEXT)
|
project_lib_DATA = start.$(OBJEXT)
|
||||||
|
|
||||||
dist_project_lib_DATA += startup/linkcmds ../shared/startup/linkcmds.base
|
dist_project_lib_DATA += ../shared/startup/linkcmds.base
|
||||||
|
dist_project_lib_DATA += startup/linkcmds
|
||||||
|
dist_project_lib_DATA += startup/linkcmds.leon3
|
||||||
|
|
||||||
noinst_LIBRARIES += libbsp.a
|
noinst_LIBRARIES += libbsp.a
|
||||||
libbsp_a_SOURCES =
|
libbsp_a_SOURCES =
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ RTEMS_BSPOPTS_HELP([BSP_LEON3_SMP],
|
|||||||
determining the CPU core number in an SMP configuration.])
|
determining the CPU core number in an SMP configuration.])
|
||||||
|
|
||||||
RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
|
RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
|
||||||
|
RTEMS_BSP_LINKCMDS
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
# Explicitly list all Makefiles here
|
||||||
AC_CONFIG_FILES([Makefile])
|
AC_CONFIG_FILES([Makefile])
|
||||||
|
|||||||
@@ -69,13 +69,17 @@ $(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
|||||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
|
||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
|
TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
|
||||||
|
|
||||||
|
$(PROJECT_LIB)/linkcmds.base: ../shared/startup/linkcmds.base $(PROJECT_LIB)/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.base
|
||||||
|
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.base
|
||||||
|
|
||||||
$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
|
$(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)/linkcmds.base: ../shared/startup/linkcmds.base $(PROJECT_LIB)/$(dirstamp)
|
$(PROJECT_LIB)/linkcmds.leon3: startup/linkcmds.leon3 $(PROJECT_LIB)/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.base
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.leon3
|
||||||
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.base
|
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.leon3
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/amba.h: include/amba.h $(PROJECT_INCLUDE)/$(dirstamp)
|
$(PROJECT_INCLUDE)/amba.h: include/amba.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/amba.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/amba.h
|
||||||
|
|||||||
Reference in New Issue
Block a user