JTAG data dir path is now configurable via configure script.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@261 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent 84024cb5bd
commit f3e1cddadf

@ -33,4 +33,4 @@ jtag_DEPENDENCIES = tap/libtap.a part/libpart.a
jtag_LDADD = -lreadline -lncurses -Ltap -ltap -Lpart -lpart
INCLUDES = -I$(top_srcdir)/include $(OPENWINCE_INC)
INCLUDES = -I$(top_srcdir)/include $(OPENWINCE_INC) -DJTAG_DATA_DIR=\"$(pkgdatadir)\"

@ -99,7 +99,7 @@ main( void )
t = get_token( NULL );
if (ps)
parts_free( ps );
ps = detect_parts( "../data" );
ps = detect_parts( JTAG_DATA_DIR );
if (!ps->len)
continue;
parts_set_instruction( ps, "SAMPLE/PRELOAD" );

Loading…
Cancel
Save