remove BUILD_IOUTIL symbol
commiteaf10f69de969652d03742809b9c970158b90719
authorZachary T Welch <zw@superlucidity.net>
Wed, 2 Dec 2009 03:52:00 +0000 (1 19:52 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 2 Dec 2009 21:26:26 +0000 (2 13:26 -0800)
treebb382e74018d2352a0ee05912d53c34b28ad6113
parent34654359a918edae10ca7dd7ebc0a487fdf609a4
remove BUILD_IOUTIL symbol

Add ioutil_stubs.c to provide an empty ioutil_init() routine.
Add ioutil.h to prevent applications from needing to declare it.

Allows unconditionally calling that function during startup, and the
resulting libocdhelper library API is now more stable.

Prints a DEBUG message when the stub implementation is included.
configure.in
src/ecosboard.c
src/helper/Makefile.am
src/helper/ioutil.h [new file with mode: 0644]
src/helper/ioutil_stubs.c [new file with mode: 0644]
src/openocd.c