]> git.sur5r.net Git - openocd/blobdiff - src/helper/Makefile.am
print out an error if srst_pulls_trst is not specified for
[openocd] / src / helper / Makefile.am
index 91fe01b665a048e72d8a2702ad50b5c49b7ab608..e518bc7f218963f33d043199838c48a2954dca2d 100644 (file)
@@ -2,7 +2,14 @@ INCLUDES = $(all_includes)
 METASOURCES = AUTO
 AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" -DPKGLIBDIR=\"$(pkglibdir)\" @CPPFLAGS@
 noinst_LIBRARIES = libhelper.a
-libhelper_a_SOURCES = binarybuffer.c configuration.c options.c log.c interpreter.c command.c time_support.c \
+
+if ECOSBOARD
+CONFIGFILES = 
+else
+CONFIGFILES = options.c
+endif
+
+libhelper_a_SOURCES = binarybuffer.c $(CONFIGFILES) configuration.c log.c interpreter.c command.c time_support.c \
        replacements.c fileio.c
 noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \
        interpreter.h time_support.h replacements.h fileio.h