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:
Chris Johns
2015-12-09 20:08:19 +11:00
parent c9fa179561
commit efc4f099b4
17 changed files with 159 additions and 75 deletions

View File

@@ -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