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:
Joel Sherrill
1997-04-11 18:41:38 +00:00
parent 18e5d86bb9
commit bc7d465dcd
4 changed files with 8 additions and 29 deletions

View File

@@ -5,7 +5,7 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH=@srcdir@
VPATH=@srcdir@:@srcdir@/../../mvme147/clock
PGM=${ARCH}/clock.rel
@@ -22,8 +22,6 @@ OBJS=$(C_O_FILES)
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg
SHARED_SRCS=ckinit.c
#
# (OPTIONAL) Add local stuff here using +=
#
@@ -44,15 +42,12 @@ LDFLAGS +=
#
CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS += $(SHARED_SRCS)
CLOBBER_ADDITIONS +=
${PGM}: ${SRCS} ${OBJS}
$(make-rel)
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
install: all

View File

@@ -5,7 +5,7 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH=@srcdir@
VPATH=@srcdir@:@srcdir@/../../mvme147/console
PGM=${ARCH}/console.rel
@@ -22,8 +22,6 @@ OBJS=$(C_O_FILES)
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg
SHARED_SRCS=console.c
#
# (OPTIONAL) Add local stuff here using +=
#
@@ -44,15 +42,12 @@ LDFLAGS +=
#
CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS += $(SHARED_SRCS)
CLOBBER_ADDITIONS +=
${PGM}: ${SRCS} ${OBJS}
$(make-rel)
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
install: all

View File

@@ -5,7 +5,7 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH=@srcdir@
VPATH=@srcdir@:@srcdir@/../../mvme147/startup
PGM=${ARCH}/startup.rel
@@ -22,8 +22,6 @@ OBJS=$(C_O_FILES)
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg
SHARED_SRCS=bspclean.c sbrk.c setvec.c
#
# (OPTIONAL) Add local stuff here using +=
#
@@ -44,7 +42,7 @@ LDFLAGS +=
#
CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS += $(SHARED_SRCS)
CLOBBER_ADDITIONS +=
${PGM}: ${SRCS} ${OBJS}
$(make-rel)
@@ -52,8 +50,4 @@ ${PGM}: ${SRCS} ${OBJS}
all: ${ARCH} $(SRCS) $(PGM)
$(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

View File

@@ -5,7 +5,7 @@
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH=@srcdir@
VPATH=@srcdir@:@srcdir@/../../mvme147/timer
PGM=${ARCH}/timer.rel
@@ -27,8 +27,6 @@ OBJS=$(C_O_FILES) $(S_O_FILES)
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg
SHARED_SRCS=timer.c timerisr.s
#
# (OPTIONAL) Add local stuff here using +=
#
@@ -49,15 +47,12 @@ LDFLAGS +=
#
CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS += $(SHARED_SRCS)
CLOBBER_ADDITIONS +=
${PGM}: ${SRCS} ${OBJS}
$(make-rel)
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
install: all