mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-27 23:10:16 +00:00
2009-11-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add RTEMS_BSP_LINKCMDS. * make/custom/lpc24xx.inc: Remove LDFLAGS. * make/custom/lpc24xx_ea.cfg: Remove LPC24XX_LINKCMDS. * make/custom/lpc24xx_ncs_ram.cfg: Remove LPC24XX_LINKCMDS. * make/custom/lpc24xx_ncs_rom_ext.cfg: Remove LPC24XX_LINKCMDS. * make/custom/lpc24xx_ncs_rom_int.cfg: Remove LPC24XX_LINKCMDS. * startup/linkcmds: Remove. * Makefile.am: Rework linkcmds handling.
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
2009-11-03 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Add RTEMS_BSP_LINKCMDS.
|
||||
* make/custom/lpc24xx.inc: Remove LDFLAGS.
|
||||
* make/custom/lpc24xx_ea.cfg: Remove LPC24XX_LINKCMDS.
|
||||
* make/custom/lpc24xx_ncs_ram.cfg: Remove LPC24XX_LINKCMDS.
|
||||
* make/custom/lpc24xx_ncs_rom_ext.cfg: Remove LPC24XX_LINKCMDS.
|
||||
* make/custom/lpc24xx_ncs_rom_int.cfg: Remove LPC24XX_LINKCMDS.
|
||||
* startup/linkcmds: Remove.
|
||||
* Makefile.am: Rework linkcmds handling.
|
||||
|
||||
2009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* clock/clock-config.c, misc/dma.c, network/network.c,
|
||||
|
||||
@@ -55,12 +55,12 @@ libbspstart_a_SOURCES = ../shared/start/start.S
|
||||
|
||||
project_lib_DATA = start.$(OBJEXT)
|
||||
|
||||
dist_project_lib_DATA += ../shared/startup/linkcmds.base \
|
||||
startup/linkcmds \
|
||||
startup/linkcmds.lpc24xx_ea \
|
||||
startup/linkcmds.lpc24xx_ncs_rom_int \
|
||||
startup/linkcmds.lpc24xx_ncs_rom_ext \
|
||||
startup/linkcmds.lpc24xx_ncs_ram
|
||||
project_lib_DATA += startup/linkcmds
|
||||
project_lib_DATA += ../shared/startup/linkcmds.base
|
||||
EXTRA_DIST = startup/linkcmds.lpc24xx_ea
|
||||
EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_rom_int
|
||||
EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_rom_ext
|
||||
EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_ram
|
||||
|
||||
###############################################################################
|
||||
# LibBSP #
|
||||
|
||||
@@ -70,6 +70,7 @@ RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[lpc24xx_ncs_rom_ext],[0x80000040])
|
||||
RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
|
||||
|
||||
RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
|
||||
RTEMS_BSP_LINKCMDS
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
@@ -11,5 +11,3 @@ RTEMS_CPU = arm
|
||||
CPU_CFLAGS = -mcpu=arm7tdmi-s -mstructure-size-boundary=8 -mthumb
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -Os -g
|
||||
|
||||
LDFLAGS += -qnolinkcmds -T $(LPC24XX_LINKCMDS)
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
LPC24XX_LINKCMDS = linkcmds.lpc24xx_ea
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
|
||||
|
||||
# define bsp-post-link
|
||||
|
||||
@@ -4,6 +4,4 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
LPC24XX_LINKCMDS = linkcmds.lpc24xx_ncs_ram
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
|
||||
|
||||
@@ -4,6 +4,4 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
LPC24XX_LINKCMDS = linkcmds.lpc24xx_ncs_rom_ext
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
|
||||
|
||||
@@ -4,6 +4,4 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
LPC24XX_LINKCMDS = linkcmds.lpc24xx_ncs_rom_int
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
|
||||
|
||||
@@ -121,27 +121,11 @@ $(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
|
||||
|
||||
$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
|
||||
|
||||
$(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)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
|
||||
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
|
||||
|
||||
$(PROJECT_LIB)/linkcmds.lpc24xx_ea: startup/linkcmds.lpc24xx_ea $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_ea
|
||||
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_ea
|
||||
|
||||
$(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_int: startup/linkcmds.lpc24xx_ncs_rom_int $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_int
|
||||
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_int
|
||||
|
||||
$(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_ext: startup/linkcmds.lpc24xx_ncs_rom_ext $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_ext
|
||||
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_ext
|
||||
|
||||
$(PROJECT_LIB)/linkcmds.lpc24xx_ncs_ram: startup/linkcmds.lpc24xx_ncs_ram $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_ram
|
||||
PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_ram
|
||||
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
MEMORY {
|
||||
RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 64k
|
||||
RAM_EXT (AIW) : ORIGIN = 0xa0000000, LENGTH = 32M
|
||||
NIRVANA : ORIGIN = 0, LENGTH = 0
|
||||
}
|
||||
|
||||
REGION_ALIAS ("REGION_START", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_VECTOR", RAM_INT);
|
||||
REGION_ALIAS ("REGION_TEXT", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_TEXT_LOAD", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_RODATA", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_RODATA_LOAD", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_DATA", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_DATA_LOAD", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_FAST", RAM_INT);
|
||||
REGION_ALIAS ("REGION_FAST_LOAD", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_BSS", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_WORK", RAM_EXT);
|
||||
REGION_ALIAS ("REGION_STACK", RAM_INT);
|
||||
|
||||
INCLUDE linkcmds.base
|
||||
Reference in New Issue
Block a user