summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jtag/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/jtag/Makefile.am b/src/jtag/Makefile.am
index 58110ff4..c2d98033 100644
--- a/src/jtag/Makefile.am
+++ b/src/jtag/Makefile.am
@@ -51,6 +51,12 @@ else
ECOSBOARDFILES =
endif
+if MINIDRIVER
+DRIVERFILES =
+else
+DRIVERFILES = jtag_driver.c
+endif
+
if AT91RM9200
AT91RM9200FILES = at91rm9200.c
else
@@ -111,7 +117,7 @@ endif
libjtag_la_SOURCES = \
jtag.c \
- jtag_driver.c \
+ $(DRIVERFILES) \
$(BITBANGFILES) \
$(PARPORTFILES) \
$(DUMMYFILES) \