diff options
author | Martin Schmoelzer <martin.schmoelzer@student.tuwien.ac.at> | 2011-08-04 22:30:25 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-08-31 16:25:42 +0200 |
commit | 1d135dddf27f6f8dd2ceee2e3b07a0b91e098459 (patch) | |
tree | 060381121df4bfe571b82190512330c34108400f | |
parent | c331c9382f3e2442b4ddc6a5c65c5278b19938eb (diff) |
ULINK driver: Add '-lm' linker flag when building this driver (required for correct calculation of JTAG TCK speed setting)
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 1be24ea2..8375683d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,6 +30,10 @@ else openocd_LDADD += -ljim endif +if ULINK +openocd_LDADD += -lm +endif + libopenocd_la_SOURCES = \ hello.c \ openocd.c \ |