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>
* start/Makefile.am: Misc cleanups and fixes. * startup/Makefile.am: Misc cleanups and fixes. * 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>
|
||||||
|
|
||||||
|
* start/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* startup/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* 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.
|
||||||
|
|||||||
@@ -9,24 +9,20 @@ OBJS = $(S_O_FILES)
|
|||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
include $(top_srcdir)/../../bspstart.am
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
install-data-local: $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
|
project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
@$(mkinstalldirs) $(DESTDIR)$(bsplibdir)
|
|
||||||
$(INSTALL_DATA) $< $(DESTDIR)$(bsplibdir)
|
|
||||||
|
|
||||||
$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start.$(OBJEXT)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(ARCH)/start.$(OBJEXT) $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
.PRECIOUS: $(ARCH)/start.$(OBJEXT)
|
|
||||||
|
|
||||||
EXTRA_DIST = start.S
|
EXTRA_DIST = start.S
|
||||||
|
|
||||||
|
${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -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 exit.c linkcmds setvec.c
|
EXTRA_DIST = bspclean.c bspstart.c exit.c linkcmds 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
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ include $(top_srcdir)/../../../../automake/compile.am
|
|||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
|
||||||
# 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_FILES), $(wildcard \
|
OBJS = $(foreach piece, $(BSP_FILES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
|
||||||
../$(piece)/$(ARCH)/*.$(OBJEXT))) $(wildcard \
|
$(wildcard \
|
||||||
../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
|
../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
|
||||||
$(foreach piece, $(GENERIC_FILES), \
|
$(foreach piece, $(GENERIC_FILES), \
|
||||||
../../../$(piece)/$(ARCH)/$(piece).rel)
|
../../../$(piece)/$(ARCH)/$(piece).rel)
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* start/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* startup/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* 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.
|
||||||
|
|||||||
@@ -9,24 +9,20 @@ OBJS = $(C_O_FILES)
|
|||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
include $(top_srcdir)/../../bspstart.am
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
install-data-local: $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
|
project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
@$(mkinstalldirs) $(DESTDIR)$(bsplibdir)
|
|
||||||
$(INSTALL_DATA) $< $(DESTDIR)$(bsplibdir)
|
|
||||||
|
|
||||||
$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start.$(OBJEXT)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(ARCH)/start.$(OBJEXT) $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
.PRECIOUS: $(ARCH)/start.$(OBJEXT)
|
|
||||||
|
|
||||||
EXTRA_DIST = start.c
|
EXTRA_DIST = start.c
|
||||||
|
|
||||||
|
${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -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 exit.c linkcmds setvec.c
|
EXTRA_DIST = bspclean.c bspstart.c exit.c linkcmds 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
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ include $(top_srcdir)/../../../../automake/compile.am
|
|||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
|
||||||
# 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_FILES), $(wildcard \
|
OBJS = $(foreach piece, $(BSP_FILES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
|
||||||
../$(piece)/$(ARCH)/*.$(OBJEXT))) $(wildcard \
|
$(wildcard \
|
||||||
../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
|
../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
|
||||||
$(foreach piece, $(GENERIC_FILES), \
|
$(foreach piece, $(GENERIC_FILES), \
|
||||||
../../../$(piece)/$(ARCH)/$(piece).rel)
|
../../../$(piece)/$(ARCH)/$(piece).rel)
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* start/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* startup/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* 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.
|
||||||
|
|||||||
@@ -9,23 +9,20 @@ OBJS = $(S_O_FILES)
|
|||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
include $(top_srcdir)/../../bspstart.am
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
bsplib_DATA = $(PROJECT_RELEASE)/lib/rxgen_romld.$(OBJEXT)
|
project_lib_DATA = $(ARCH)/rxgen_romld$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
|
||||||
$(PROJECT_RELEASE)/lib/rxgen_romld$(LIB_VARIANT).$(OBJEXT): $(ARCH)/rxgen_romld.$(OBJEXT)
|
all-local: $(ARCH)/rxgen_romld.$(OBJEXT) $(TMPINSTALL_FILES)
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
TMPINSTALL_FILES += \
|
|
||||||
$(PROJECT_RELEASE)/lib/rxgen_romld$(LIB_VARIANT).$(OBJEXT)
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(ARCH)/rxgen_romld.$(OBJEXT) $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
.PRECIOUS: $(ARCH)/rxgen_romld.$(OBJEXT)
|
|
||||||
|
|
||||||
EXTRA_DIST = rxgen_romld.S
|
EXTRA_DIST = rxgen_romld.S
|
||||||
|
|
||||||
|
${PROJECT_RELEASE}/lib/rxgen_romld$(LIB_VARIANT).$(OBJEXT): $(ARCH)/rxgen_romld$(LIB_VARIANT).$(OBJEXT) ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/rxgen_romld$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/rxgen_romld$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -32,18 +32,11 @@ 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: $(PGM) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM) $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = asmfault.S asmfault.h asmstub.S asmstub.h bspstart.c cntrltbl.c \
|
EXTRA_DIST = asmfault.S asmfault.h asmstub.S asmstub.h bspstart.c cntrltbl.c \
|
||||||
cntrltbl.h dram.ld exit.c fault.c fault.h faultret.h flttbl.c flttbl.h \
|
cntrltbl.h dram.ld exit.c fault.c fault.h faultret.h flttbl.c flttbl.h \
|
||||||
@@ -53,4 +46,8 @@ EXTRA_DIST = asmfault.S asmfault.h asmstub.S asmstub.h bspstart.c cntrltbl.c \
|
|||||||
rommon.h rxgen_romld.S sctns.c sctns.h setvec.c systbl.c systbl.h \
|
rommon.h rxgen_romld.S sctns.c sctns.h setvec.c systbl.c systbl.h \
|
||||||
time.h
|
time.h
|
||||||
|
|
||||||
|
${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
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ include $(top_srcdir)/../../../../automake/lib.am
|
|||||||
BSP_PIECES = startup clock console timer
|
BSP_PIECES = startup clock console timer
|
||||||
|
|
||||||
# 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))) $(wildcard \
|
$(wildcard \
|
||||||
../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT))
|
../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT))
|
||||||
LIB = $(ARCH)/libbsp.a
|
LIB = $(ARCH)/libbsp.a
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* start/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* startup/Makefile.am: Misc cleanups and fixes.
|
||||||
|
* 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.
|
||||||
|
|||||||
@@ -9,23 +9,15 @@ OBJS = $(S_O_FILES)
|
|||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
include $(top_srcdir)/../../bspstart.am
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
install-data-local: $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
|
install-data-local: ${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
@$(mkinstalldirs) $(DESTDIR)$(bsplibdir)
|
|
||||||
$(INSTALL_DATA) $< $(DESTDIR)$(bsplibdir)
|
|
||||||
|
|
||||||
$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start.$(OBJEXT)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(ARCH)/start.$(OBJEXT) $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
.PRECIOUS: $(ARCH)/start.$(OBJEXT)
|
|
||||||
|
|
||||||
EXTRA_DIST = start.S
|
EXTRA_DIST = start.S
|
||||||
|
|
||||||
|
|||||||
@@ -25,23 +25,21 @@ include $(top_srcdir)/../../../../automake/lib.am
|
|||||||
$(PGM): $(OBJS)
|
$(PGM): $(OBJS)
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
bsplib_DATA = linkcmds ghlinkcmds
|
project_lib_DATA = linkcmds ghlinkcmds
|
||||||
|
|
||||||
$(PROJECT_RELEASE)/lib/ghlinkcmds: ghlinkcmds
|
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
$(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/ghlinkcmds \
|
|
||||||
$(PROJECT_RELEASE)/lib/linkcmds
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM) $(TMPINSTALL_FILES)
|
all-local: $(PGM) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = bspclean.c bspstart.c ghlinkcmds idtmem.S idttlb.S inittlb.c \
|
EXTRA_DIST = bspclean.c bspstart.c ghlinkcmds idtmem.S idttlb.S inittlb.c \
|
||||||
linkcmds setvec.c
|
linkcmds setvec.c
|
||||||
|
|
||||||
|
${PROJECT_RELEASE}/lib/linkcmds: linkcmds ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/linkcmds
|
||||||
|
TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/linkcmds
|
||||||
|
|
||||||
|
${PROJECT_RELEASE}/lib/ghlinkcmds: ghlinkcmds ${PROJECT_RELEASE}/lib/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/ghlinkcmds
|
||||||
|
TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/ghlinkcmds
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ BSP_FILES = startup console liblnk
|
|||||||
CPU_FILES = clock timer
|
CPU_FILES = clock timer
|
||||||
|
|
||||||
# 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_FILES), $(wildcard \
|
OBJS = $(foreach piece, $(BSP_FILES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
|
||||||
../$(piece)/$(ARCH)/*.$(OBJEXT))) $(foreach piece, $(CPU_FILES), \
|
$(foreach piece, $(CPU_FILES), \
|
||||||
../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel)
|
../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel)
|
||||||
LIB = $(ARCH)/libbsp.a
|
LIB = $(ARCH)/libbsp.a
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user