summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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