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>
This commit is contained in:
Martin Schmoelzer 2011-08-04 22:30:25 +02:00 committed by Øyvind Harboe
parent c331c9382f
commit 1d135dddf2
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ else
openocd_LDADD += -ljim
endif
if ULINK
openocd_LDADD += -lm
endif
libopenocd_la_SOURCES = \
hello.c \
openocd.c \