From: oharboe Date: Thu, 24 Jul 2008 13:49:56 +0000 (+0000) Subject: take path to eCos files from environment variable X-Git-Tag: v0.1.0~430 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=161deacc06d144ac94850bdc4e335c18650578a6;p=openocd take path to eCos files from environment variable git-svn-id: svn://svn.berlios.de/openocd/trunk@869 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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