forked from Imagelibrary/rtems
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* PCI_bus/Makefile.am: Eliminate VPATH. * clock/Makefile.am: Eliminate VPATH. * console/Makefile.am: Eliminate VPATH. * start/Makefile.am: Eliminate VPATH. * startup/Makefile.am: Eliminate VPATH. * timer/Makefile.am: Eliminate VPATH. * tod/Makefile.am: Eliminate VPATH. * vectors/Makefile.am: Eliminate VPATH.
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* PCI_bus/Makefile.am: Eliminate VPATH.
|
||||||
|
* clock/Makefile.am: Eliminate VPATH.
|
||||||
|
* console/Makefile.am: Eliminate VPATH.
|
||||||
|
* start/Makefile.am: Eliminate VPATH.
|
||||||
|
* startup/Makefile.am: Eliminate VPATH.
|
||||||
|
* timer/Makefile.am: Eliminate VPATH.
|
||||||
|
* tod/Makefile.am: Eliminate VPATH.
|
||||||
|
* vectors/Makefile.am: Eliminate VPATH.
|
||||||
|
|
||||||
2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
|
* start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ $(PGM): $(OBJS)
|
|||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
all-local: $(PGM)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
.PRECIOUS: $(PGM)
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ $(PGM): $(OBJS)
|
|||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
all-local: $(PGM)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
.PRECIOUS: $(PGM)
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ $(PGM): $(OBJS)
|
|||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
all-local: $(PGM)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
.PRECIOUS: $(PGM)
|
||||||
|
|
||||||
|
|||||||
@@ -3,18 +3,12 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
S_FILES = start.S
|
S_FILES = start.S
|
||||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
OBJS = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||||
|
|
||||||
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
|
include $(top_srcdir)/../../bspstart.am
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
|
project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
|
||||||
all-local: $(TMPINSTALL_FILES)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../../shared
|
|
||||||
|
|
||||||
PGM = $(ARCH)/startup.rel
|
PGM = $(ARCH)/startup.rel
|
||||||
|
|
||||||
@@ -12,19 +12,24 @@ PGM = $(ARCH)/startup.rel
|
|||||||
# Generation 2 --> FPGA
|
# Generation 2 --> FPGA
|
||||||
STARTUP_C_FILES = FPGA.c
|
STARTUP_C_FILES = FPGA.c
|
||||||
|
|
||||||
C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
|
C_FILES = bspclean.c bspstart.c \
|
||||||
setvec.c Hwr_init.c spurious.c genpvec.c $(STARTUP_C_FILES) \
|
setvec.c Hwr_init.c spurious.c genpvec.c $(STARTUP_C_FILES)
|
||||||
gnatinstallhandler.c
|
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
#
|
shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
|
||||||
#
|
shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
|
||||||
|
shared_C_FILES += $(top_srcdir)/../../shared/main.c
|
||||||
|
shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c
|
||||||
|
shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
|
||||||
|
OBJS += $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
|
||||||
|
|
||||||
|
$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
|
||||||
|
${COMPILE} -o $@ -c $<
|
||||||
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
$(PGM): $(OBJS)
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
@@ -33,8 +38,7 @@ project_lib_DATA = linkcmds
|
|||||||
|
|
||||||
all-local: $(PGM) $(TMPINSTALL_FILES)
|
all-local: $(PGM) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
EXTRA_DIST = FPGA.c Hwr_init.c bspclean.c bspstart.c genpvec.c linkcmds \
|
EXTRA_DIST = $(C_FILES) linkcmds
|
||||||
setvec.c spurious.c vmeintr.c
|
|
||||||
|
|
||||||
$(PROJECT_LIB)/$(dirstamp):
|
$(PROJECT_LIB)/$(dirstamp):
|
||||||
@$(mkdir_p) $(PROJECT_LIB)
|
@$(mkdir_p) $(PROJECT_LIB)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ $(PGM): $(OBJS)
|
|||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
all-local: $(PGM)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
.PRECIOUS: $(PGM)
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ $(PGM): $(OBJS)
|
|||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
all-local: $(PGM)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
.PRECIOUS: $(PGM)
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ $(PGM): $(OBJS)
|
|||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
all-local: $(PGM)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
.PRECIOUS: $(PGM)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user