diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-02 08:29:03 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-02 08:29:03 +0000 |
commit | 34b6fc3ce4f8f0792032b83dea9973d8a637a888 (patch) | |
tree | ac4bcfe78be5097e635b2428ba8f2c611ab79584 /src/jtag/Makefile.am | |
parent | 1d230b88d2079e4303816452b04d00da5a94756f (diff) | |
download | riscv-openocd-34b6fc3ce4f8f0792032b83dea9973d8a637a888.zip riscv-openocd-34b6fc3ce4f8f0792032b83dea9973d8a637a888.tar.gz riscv-openocd-34b6fc3ce4f8f0792032b83dea9973d8a637a888.tar.bz2 |
Only include jtag_driver.c in the build when minidriver is not in use.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2000 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/Makefile.am')
-rw-r--r-- | src/jtag/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/jtag/Makefile.am b/src/jtag/Makefile.am index 58110ff..c2d9803 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) \ |