diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-12-18 23:30:51 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-12-18 23:30:51 +0000 |
commit | 5dc5398d8181108e1bba59bba7fe9e2fb85710c0 (patch) | |
tree | e99bde43d4e3cf8d89757f5cc5e767fe7f133247 /c/src/lib/libbsp/sparc/leon | |
parent | 2003-12-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-5dc5398d8181108e1bba59bba7fe9e2fb85710c0.tar.bz2 |
2003-12-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* start/Makefile.am: Eliminate VPATH.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/start/Makefile.am | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/sparc/leon/ChangeLog b/c/src/lib/libbsp/sparc/leon/ChangeLog index 19ab80ec65..42bb6e3a74 100644 --- a/c/src/lib/libbsp/sparc/leon/ChangeLog +++ b/c/src/lib/libbsp/sparc/leon/ChangeLog @@ -1,3 +1,7 @@ +2003-12-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * start/Makefile.am: Eliminate VPATH. + 2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g. diff --git a/c/src/lib/libbsp/sparc/leon/start/Makefile.am b/c/src/lib/libbsp/sparc/leon/start/Makefile.am index cd37504367..bf3b3b7358 100644 --- a/c/src/lib/libbsp/sparc/leon/start/Makefile.am +++ b/c/src/lib/libbsp/sparc/leon/start/Makefile.am @@ -2,16 +2,13 @@ ## $Id$ ## -VPATH = @srcdir@:@srcdir@/../../shared - -S_FILES = start.S -S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +S_FILES = $(top_srcdir)/../shared/start.S +S_O_FILES = $(S_FILES:$(top_srcdir)/../shared/%.S=$(ARCH)/%.$(OBJEXT)) OBJS = $(S_O_FILES) include $(top_srcdir)/../../../../automake/compile.am include $(top_srcdir)/../../../../automake/lib.am -include $(top_srcdir)/../../bspstart.am # # (OPTIONAL) Add local stuff here using += @@ -19,9 +16,10 @@ include $(top_srcdir)/../../bspstart.am project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) -all-local: $(TMPINSTALL_FILES) +$(ARCH)/%$(LIB_VARIANT).$(OBJEXT): $(top_srcdir)/../shared/%.S $(ARCH)/$(dirstamp) + ${CCASCOMPILE} -DASM -o $@ -c $< -EXTRA_DIST = start.S +all-local: $(TMPINSTALL_FILES) $(PROJECT_LIB)/$(dirstamp): @$(mkdir_p) $(PROJECT_LIB) |