10 Aug 2012 19:20
maintaining BSP that isnt in an RTEMS production release
> can you please remove all > > #if ( __RTEMS_MAJOR__ > 4 ) || \ > ( __RTEMS_MAJOR__ == 4 && __RTEMS_MINOR__ > 10 ) || \ > ( __RTEMS_MAJOR__ == 4 && __RTEMS_MINOR__ == 10 && __RTEMS_REVISION__ >= 99 ) Here is how I decided to have a special case for this type of ifdef 1) Nios2 isn't included in a production release of RTEMS 2) We will soon use RTEMS/Nios2 in a production installation 3) Currently I have to continuously back-patch the RTEMS main trunk Nios2 patches into the RTEMS 4.10 version and that requires some continuing effort. It's much easier to maintain a Nios2 support code that works on both in RTEMS 4.10 and also the main trunk. Making this type of ifdef work correctly did require some effort; I am a bit new with the gnu build system. I am requesting that we use this type of ifdef in the Nios2 specific code only until such a time that the Nios2 specific code can obtain a citizen status in RTEMS. I completely agree that the ifdef should be 100% removed after Nios2 shows up in a released branch of RTEMS; at that time I will have two places in git to maintain both the production version and the main trunk version which will allow a typical type of develop-quickly-on-the-main-trunk and polish-on-(Continue reading)the- production-branch approach to quality control which is not currently possible.
RSS Feed