summaryrefslogtreecommitdiffstats
path: root/libbsd.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-04-18 10:53:20 +1000
committerChris Johns <chrisj@rtems.org>2016-04-18 10:53:20 +1000
commit97c5024a79eda757180eab27949735722030daf1 (patch)
treecb99723a4ad3bdfd5be1a08bebf2c972d0a2f52e /libbsd.py
parentlibkern.h: Deal with latest <stdlib.h> of Newlib (diff)
downloadrtems-libbsd-97c5024a79eda757180eab27949735722030daf1.tar.bz2
Add RTEMS version support, update all python to 2 and 3.
Add support to force the RTEMS version. This remove the need for using the --rtems-version command line option if the automatic detection fails. Update all python code to support python 2 and 3. Update rtems_waf to the latest version to support the RTEMS version, check environment variables and to display the CC version. Sort all tests. I think the unsorted list is dependent on the version of python and so would result in repo noise as if it regenerted.
Diffstat (limited to 'libbsd.py')
-rwxr-xr-xlibbsd.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/libbsd.py b/libbsd.py
index 3fd4c4b3..388aedfb 100755
--- a/libbsd.py
+++ b/libbsd.py
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2015 Chris Johns <chrisj@rtems.org>. All rights reserved.
+# Copyright (c) 2015-2016 Chris Johns <chrisj@rtems.org>. All rights reserved.
#
# Copyright (c) 2009-2015 embedded brains GmbH. All rights reserved.
#
@@ -35,6 +35,12 @@
import builder
#
+# RTEMS version
+#
+def rtems_version():
+ return '4.12'
+
+#
# RTEMS
#
def rtems(mm):