From 1d135dddf27f6f8dd2ceee2e3b07a0b91e098459 Mon Sep 17 00:00:00 2001 From: Martin Schmoelzer Date: Thu, 4 Aug 2011 22:30:25 +0200 Subject: [PATCH] ULINK driver: Add '-lm' linker flag when building this driver (required for correct calculation of JTAG TCK speed setting) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Schmölzer --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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 \ -- 2.39.5