The biggest barrier to cross-compile support was cantool's mandatory dependency on hdf5 library, which is documented by its developers as not supporting cross-compile builds. cantools is still useful without the matlab utilities, so '--disable-matlab' configure switch allows incorporating the remaining parts of cantools into an image generated by OpenEmbedded/yocto build system.
Also got rid of a dependency on glib, which seems to be completely unused at this point. glib is available for cross-compile builds but embedded targets tend to have much more limited space than a desktop so useless dependencies can be more of a burden.
In order to have a little more confidence that things are still running properly with or without '--disable-matlab', fixed the test case so that it really runs the test function on 'make check' (previously it was just a compile check, probably unintentionally because the libcheck tutorial is confusing in that regard).
The biggest barrier to cross-compile support was cantool's mandatory dependency on hdf5 library, which is documented by its developers as not supporting cross-compile builds. cantools is still useful without the matlab utilities, so '--disable-matlab' configure switch allows incorporating the remaining parts of cantools into an image generated by OpenEmbedded/yocto build system.
Also got rid of a dependency on glib, which seems to be completely unused at this point. glib is available for cross-compile builds but embedded targets tend to have much more limited space than a desktop so useless dependencies can be more of a burden.
In order to have a little more confidence that things are still running properly with or without '--disable-matlab', fixed the test case so that it really runs the test function on 'make check' (previously it was just a compile check, probably unintentionally because the libcheck tutorial is confusing in that regard).