On Wednesday 27 October 2010 13:31:00 [email protected] wrote:
In src/catools/Makefile you find:
LIBRARY_HOST += catools
PROD_HOST += caget camonitor cainfo caput
This builds caget etc only for the host, not for the cross targets.
To build the tools for all cross Linux IOCs, you may try to add:
LIBRARY_IOC_Linux += catools
PROD_IOC_Linux += caget camonitor cainfo caput
I didn't try the above. But I found I simply needed
VALID_BUILDS += Host
in my CONFIG_SITE.Common.linux-arm4vtl
In linux-arm, we already have
VALID_BUILDS = Ioc (which basically means build the libs)
True, although that will also cause all of the host tools to be built and
installed as well; not really a problem, but it will slow up your builds a
bit. Dirk's instructions should also work, but they do result in some benign
warnings from the build system.
I've made a change for 3.14.12 which will build the catools for all
architectures except vxWorks and RTEMS.
It would be nice it these tools could be included in an IOC image and register
themselves with the iocsh (a long time ago there were such CA commands in the
vxWorks IOC), but that's probably a fair bit of work to do properly — Ralph,
one for the Codeathon wish-list maybe?
- Andrew