]> git.sur5r.net Git - openocd/commitdiff
take path to eCos files from environment variable
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 24 Jul 2008 13:49:56 +0000 (13:49 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 24 Jul 2008 13:49:56 +0000 (13:49 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@869 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/Makefile.am
src/jtag/Makefile.am

index d04308e5249fa0bb5ac3c96784549a4e700e4eab..81de281332aa8ecf79772d7c2ab6a02384bf67b9 100644 (file)
@@ -1,7 +1,7 @@
 bin_PROGRAMS = openocd
 
 if ECOSBOARD
-MAINFILE = ecosboard.c
+MAINFILE = $(ECOS_SOURCE_FILES)/ecosboard.c
 else
 MAINFILE = main.c
 endif
index b5a3d8a6afdc339ad654348773df2640ecd3262b..76a38409ca502f256f36e2e156f91ec53746d5e1 100644 (file)
@@ -54,7 +54,7 @@ EP93XXFILES =
 endif
 
 if ECOSBOARD
-ECOSBOARDFILES = zy1000.c
+ECOSBOARDFILES = $(ECOS_SOURCE_FILES)/zy1000.c
 else
 ECOSBOARDFILES =
 endif