build: add autobuild jimtcl to configure scripts
Rather than having to configure/build jimtcl openocd will do this as part of its own build. To use an external jimtcl lib specify disable-internal-jimtcl to the configure step. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
+7
-1
@@ -20,7 +20,13 @@ MAINFILE = main.c
|
||||
endif
|
||||
|
||||
openocd_SOURCES = $(MAINFILE)
|
||||
openocd_LDADD = libopenocd.la -ljim
|
||||
openocd_LDADD = libopenocd.la
|
||||
|
||||
if INTERNAL_JIMTCL
|
||||
openocd_LDADD += $(top_builddir)/jimtcl/libjim.a
|
||||
else
|
||||
openocd_LDADD += -ljim
|
||||
endif
|
||||
|
||||
libopenocd_la_SOURCES = \
|
||||
hello.c \
|
||||
|
||||
Reference in New Issue
Block a user