mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* startup/Makefile.am: Misc cleanups and fixes. * startup/linkcmds: Preparations to gcc-3.3.x. * wrapup/Makefile.am: Misc cleanups and fixes.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* startup/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* startup/linkcmds: Preparations to gcc-3.3.x.
|
||||||
|
* wrapup/Makefile.am: Misc cleanups and fixes.
|
||||||
|
|
||||||
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Add preinstallation dirstamp support.
|
* Makefile.am: Add preinstallation dirstamp support.
|
||||||
|
|||||||
@@ -22,18 +22,16 @@ include $(top_srcdir)/../../../../automake/lib.am
|
|||||||
$(PGM): $(OBJS)
|
$(PGM): $(OBJS)
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
bsplib_DATA = linkcmds
|
project_lib_DATA = linkcmds
|
||||||
|
|
||||||
$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
|
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||||
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM) $(TMPINSTALL_FILES)
|
all-local: $(PGM) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = bspclean.c bspstart.c linkcmds linkcmds.dl setvec.c
|
EXTRA_DIST = bspclean.c bspstart.c linkcmds linkcmds.dl setvec.c
|
||||||
|
|
||||||
|
${PROJECT_RELEASE}/lib/linkcmds: linkcmds ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/linkcmds
|
||||||
|
TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/linkcmds
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
*(.data)
|
*(.data)
|
||||||
*(.data1)
|
*(.data1)
|
||||||
*(.gnu.linkonce.d*)
|
*(.data.* .gnu.linkonce.d*)
|
||||||
PROVIDE (__SDATA_START__ = .);
|
PROVIDE (__SDATA_START__ = .);
|
||||||
*(.sdata)
|
*(.sdata)
|
||||||
*(.gnu.linkonce.s.*)
|
*(.gnu.linkonce.s.*)
|
||||||
|
|||||||
@@ -7,9 +7,8 @@ BSP_PIECES = startup dlentry
|
|||||||
CPU_PIECES = clock timer console tty_drv vectors ictrl
|
CPU_PIECES = clock timer console tty_drv vectors ictrl
|
||||||
|
|
||||||
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
||||||
OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard \
|
OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
|
||||||
../$(piece)/$(ARCH)/*.$(OBJEXT))) ../@exceptions@/$(ARCH)/rtems-cpu.rel \
|
../@exceptions@/$(ARCH)/rtems-cpu.rel $(foreach piece, $(CPU_PIECES), \
|
||||||
$(foreach piece, $(CPU_PIECES), \
|
|
||||||
../../../../libcpu/$(RTEMS_CPU)/ppc403/$(piece)/$(ARCH)/$(piece).rel)
|
../../../../libcpu/$(RTEMS_CPU)/ppc403/$(piece)/$(ARCH)/$(piece).rel)
|
||||||
|
|
||||||
LIB = $(ARCH)/libbsp.a
|
LIB = $(ARCH)/libbsp.a
|
||||||
|
|||||||
Reference in New Issue
Block a user