riscv-openocd/contrib
Andreas Fritiofson c98856b62a contrib: Add example cross-build script
Usage:
export LIBUSB1_SRC=/path/to/libusb-1.0
export OPENOCD_CONFIG="--enable-..."
cd /work/dir
/path/to/openocd/contrib/cross-build.sh <host-triplet>

For static linking, a workaround is to
export LIBUSB1_CONFIG="--enable-static --disable-shared"

All the paths must not contain any spaces.

Feel free to comment or update this patchset with improvements.

Change-Id: Ib3b4970117f13a6140a1eddc493d324a52364519
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1531
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-09-15 07:55:10 +00:00
..
libdcc update files to correct FSF address 2013-06-05 19:52:42 +00:00
loaders mdr32fx: support for Milandr's MDR32Fx internal flash memory 2013-08-07 21:02:51 +00:00
coresight-trace.txt present CM3 Trace agenda 2011-01-09 21:14:57 +01:00
cross-build.sh contrib: Add example cross-build script 2013-09-15 07:55:10 +00:00
gen-stellaris-part-header.pl flash: update luminary device table 2011-11-08 21:52:17 +00:00
itmdump.c present CM3 Trace agenda 2011-01-09 21:14:57 +01:00
openocd.udev icdi: add TI icdi interface 2012-12-23 21:46:20 +00:00