RTEMS | waf: Fix handling of the VERSION file in a release (!257)

Gedare Bloom (@gedare) gitlab at rtems.org
Fri Oct 25 23:50:20 UTC 2024




Gedare Bloom started a new discussion on cpukit/sapi/src/version.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113790

 > +{
 > +  /*
 > +   * RTEMS 5 and 6 only provide the VC key. The VC key header will be
 > +   * moved to `version-release-label.h` after RTEMS 6
 > +   */
 > +#ifdef RTEMS_VERSION_CONTROL_KEY
 > +  return RTEMS_VERSION_CONTROL_KEY;
 > +#else
 > +  return "";
 > +#endif
 > +}
 > +
 > +bool rtems_version_release_label_is_valid( void )
 > +{
 > +  const char* release_label = rtems_version_release_label( );
 > +  return release_label[ 0 ] != '\0';

Does this mean the function returns `false` for an RTEMS release (using `release_label=""`)?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113790
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241025/c758ba18/attachment-0001.htm>


More information about the bugs mailing list