summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 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