In trunk r4288, I
* defined PLATFORMOSVER for the few dryos cams that didn't already have it defined
* adjusted makefile_cam.inc to error if it isn't defined for a dryos cam
* made it not defined for vxworks (instead of being 0)
* passed it in makefile_cam.inc cflags as -DCAM_DRYOS_REL=n, for dryos cams only.
Note this doesn't include the dryos version (2.3) or patch level (eg 54+p3). We can deal with those later if they ever become significant. I called the define "rel" rather than version for this reason.
I didn't verify every single existing makefile.inc definition was correct, but the vast majority seem to match their stubs_entry.S
The immediate motivation is to be able to set dryos version specific defaults for the filename/path limits, but I think it will allow us to simplify some other things later too.
I would like to replace the CAM_DRYOS_2_3_Rx defines, but that is probably a 1.5 project (IIRC some platforms define those differently than the actual version)