summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-24 13:49:56 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-24 13:49:56 +0000
commit161deacc06d144ac94850bdc4e335c18650578a6 (patch)
treed9d2203c35bedee7e22f370ff10c824ef2908095 /src
parent8fa479b6e6103fcce47fbf79c1ecb023dadf9b7e (diff)
downloadopenocd+libswd-161deacc06d144ac94850bdc4e335c18650578a6.tar.gz
openocd+libswd-161deacc06d144ac94850bdc4e335c18650578a6.tar.bz2
openocd+libswd-161deacc06d144ac94850bdc4e335c18650578a6.tar.xz
openocd+libswd-161deacc06d144ac94850bdc4e335c18650578a6.zip
take path to eCos files from environment variable
git-svn-id: svn://svn.berlios.de/openocd/trunk@869 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/jtag/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d04308e5..81de2813 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
bin_PROGRAMS = openocd
if ECOSBOARD
-MAINFILE = ecosboard.c
+MAINFILE = $(ECOS_SOURCE_FILES)/ecosboard.c
else
MAINFILE = main.c
endif
diff --git a/src/jtag/Makefile.am b/src/jtag/Makefile.am
index b5a3d8a6..76a38409 100644
--- a/src/jtag/Makefile.am
+++ b/src/jtag/Makefile.am
@@ -54,7 +54,7 @@ EP93XXFILES =
endif
if ECOSBOARD
-ECOSBOARDFILES = zy1000.c
+ECOSBOARDFILES = $(ECOS_SOURCE_FILES)/zy1000.c
else
ECOSBOARDFILES =
endif