forked from Imagelibrary/rtems
replaced linking of source from mvme147 drivers with use of vpath to
simply search into that directory and get the necessary files.
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH=@srcdir@
|
VPATH=@srcdir@:@srcdir@/../../mvme147/clock
|
||||||
|
|
||||||
PGM=${ARCH}/clock.rel
|
PGM=${ARCH}/clock.rel
|
||||||
|
|
||||||
@@ -22,8 +22,6 @@ OBJS=$(C_O_FILES)
|
|||||||
include $(RTEMS_CUSTOM)
|
include $(RTEMS_CUSTOM)
|
||||||
include $(PROJECT_ROOT)/make/leaf.cfg
|
include $(PROJECT_ROOT)/make/leaf.cfg
|
||||||
|
|
||||||
SHARED_SRCS=ckinit.c
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
@@ -44,15 +42,12 @@ LDFLAGS +=
|
|||||||
#
|
#
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
CLEAN_ADDITIONS +=
|
||||||
CLOBBER_ADDITIONS += $(SHARED_SRCS)
|
CLOBBER_ADDITIONS +=
|
||||||
|
|
||||||
${PGM}: ${SRCS} ${OBJS}
|
${PGM}: ${SRCS} ${OBJS}
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
all: ${ARCH} $(SRCS) $(PGM)
|
||||||
|
|
||||||
$(SHARED_SRCS):
|
|
||||||
-$(LN) -s $(srcdir)/../../mvme147/clock/$@ $@
|
|
||||||
|
|
||||||
# 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
|
||||||
install: all
|
install: all
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH=@srcdir@
|
VPATH=@srcdir@:@srcdir@/../../mvme147/console
|
||||||
|
|
||||||
PGM=${ARCH}/console.rel
|
PGM=${ARCH}/console.rel
|
||||||
|
|
||||||
@@ -22,8 +22,6 @@ OBJS=$(C_O_FILES)
|
|||||||
include $(RTEMS_CUSTOM)
|
include $(RTEMS_CUSTOM)
|
||||||
include $(PROJECT_ROOT)/make/leaf.cfg
|
include $(PROJECT_ROOT)/make/leaf.cfg
|
||||||
|
|
||||||
SHARED_SRCS=console.c
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
@@ -44,15 +42,12 @@ LDFLAGS +=
|
|||||||
#
|
#
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
CLEAN_ADDITIONS +=
|
||||||
CLOBBER_ADDITIONS += $(SHARED_SRCS)
|
CLOBBER_ADDITIONS +=
|
||||||
|
|
||||||
${PGM}: ${SRCS} ${OBJS}
|
${PGM}: ${SRCS} ${OBJS}
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
all: ${ARCH} $(SRCS) $(PGM)
|
||||||
|
|
||||||
$(SHARED_SRCS):
|
|
||||||
-$(LN) -s $(srcdir)/../../mvme147/console/$@ $@
|
|
||||||
|
|
||||||
# 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
|
||||||
install: all
|
install: all
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH=@srcdir@
|
VPATH=@srcdir@:@srcdir@/../../mvme147/startup
|
||||||
|
|
||||||
PGM=${ARCH}/startup.rel
|
PGM=${ARCH}/startup.rel
|
||||||
|
|
||||||
@@ -22,8 +22,6 @@ OBJS=$(C_O_FILES)
|
|||||||
include $(RTEMS_CUSTOM)
|
include $(RTEMS_CUSTOM)
|
||||||
include $(PROJECT_ROOT)/make/leaf.cfg
|
include $(PROJECT_ROOT)/make/leaf.cfg
|
||||||
|
|
||||||
SHARED_SRCS=bspclean.c sbrk.c setvec.c
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
@@ -44,7 +42,7 @@ LDFLAGS +=
|
|||||||
#
|
#
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
CLEAN_ADDITIONS +=
|
||||||
CLOBBER_ADDITIONS += $(SHARED_SRCS)
|
CLOBBER_ADDITIONS +=
|
||||||
|
|
||||||
${PGM}: ${SRCS} ${OBJS}
|
${PGM}: ${SRCS} ${OBJS}
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
@@ -52,8 +50,4 @@ ${PGM}: ${SRCS} ${OBJS}
|
|||||||
all: ${ARCH} $(SRCS) $(PGM)
|
all: ${ARCH} $(SRCS) $(PGM)
|
||||||
$(INSTALL) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
|
$(INSTALL) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
|
||||||
|
|
||||||
$(SHARED_SRCS):
|
|
||||||
-$(LN) -s $(srcdir)/../../mvme147/startup/$@ $@
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH=@srcdir@
|
VPATH=@srcdir@:@srcdir@/../../mvme147/timer
|
||||||
|
|
||||||
PGM=${ARCH}/timer.rel
|
PGM=${ARCH}/timer.rel
|
||||||
|
|
||||||
@@ -27,8 +27,6 @@ OBJS=$(C_O_FILES) $(S_O_FILES)
|
|||||||
include $(RTEMS_CUSTOM)
|
include $(RTEMS_CUSTOM)
|
||||||
include $(PROJECT_ROOT)/make/leaf.cfg
|
include $(PROJECT_ROOT)/make/leaf.cfg
|
||||||
|
|
||||||
SHARED_SRCS=timer.c timerisr.s
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
@@ -49,15 +47,12 @@ LDFLAGS +=
|
|||||||
#
|
#
|
||||||
|
|
||||||
CLEAN_ADDITIONS +=
|
CLEAN_ADDITIONS +=
|
||||||
CLOBBER_ADDITIONS += $(SHARED_SRCS)
|
CLOBBER_ADDITIONS +=
|
||||||
|
|
||||||
${PGM}: ${SRCS} ${OBJS}
|
${PGM}: ${SRCS} ${OBJS}
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) $(PGM)
|
all: ${ARCH} $(SRCS) $(PGM)
|
||||||
|
|
||||||
$(SHARED_SRCS):
|
|
||||||
-$(LN) -s $(srcdir)/../../mvme147/timer/$@ $@
|
|
||||||
|
|
||||||
# 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
|
||||||
install: all
|
install: all
|
||||||
|
|||||||
Reference in New Issue
Block a user