mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-17 18:39:47 +08:00
Add release versioning support.
Support a top level VERSION file that defines an RTEMS release. Fix the install of the python modules including thertems-test. Update the git python module to the RSB version. Fix the options to not call clean and to call dirty. Update the version python module. Fix the rtld C++ support to the VERSION file and the top level waf script.
This commit is contained in:
@@ -32,10 +32,6 @@
|
||||
|
||||
#include <rld.h>
|
||||
|
||||
#define RLD_VERSION_MAJOR (1)
|
||||
#define RLD_VERSION_MINOR (0)
|
||||
#define RLD_VERSION_RELEASE (0)
|
||||
|
||||
namespace rld
|
||||
{
|
||||
static int verbose_level = 0;
|
||||
@@ -202,16 +198,13 @@ namespace rld
|
||||
const std::string
|
||||
version ()
|
||||
{
|
||||
std::string v = (rld::to_string (RLD_VERSION_MAJOR) + '.' +
|
||||
rld::to_string (RLD_VERSION_MINOR) + '.' +
|
||||
rld::to_string (RLD_VERSION_RELEASE));
|
||||
return v;
|
||||
return RTEMS_RELEASE;
|
||||
}
|
||||
|
||||
const std::string
|
||||
rtems_version ()
|
||||
{
|
||||
return rld::to_string (RTEMS_VERSION);
|
||||
return RTEMS_VERSION;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user