138 Commits

Author SHA1 Message Date
Chris Johns
0c0b2d4b52 rtemstoolkit: Add version number parsing to get major, minor, revision.
Add support to return the major, minor or revision numbers as numbers.
2016-04-03 15:37:01 +10:00
Chris Johns
6f8b07c3b6 rtemstoolkit: Fix execute's writer thread to not eval() the input.
The conversion to Python3 added an eval() call which is wrong.

Fix the spelling in execute.

Fix labels in the tester gdb locking.

Check the debug-trace arguments.

Close #2642.
2016-03-14 14:59:11 +11:00
Chris Johns
2de37f3432 Python 2 and python 3 refactor fixes.
Updates #2619.
2016-03-09 14:27:42 +11:00
Chris Johns
b0fa2ae998 Update rtems-tool to support Python 2 and 3.
Add solaris and netbsd.

Close #2619.
2016-03-03 16:53:39 +11:00
Chris Johns
7148caeb91 Add Windows specific waf support for MSYS2.
Limit the compilers used to gcc and clang. Clang has not been tested.
Users with MSVC install does not need to remove now.

Force the os.sep path to the standard '\\' on Windows. The MSYS2 python
sets it to '/' for internal project reasons. Doing this does cause waf
problems when running configure so only do this for the build target.

Closes #2583.
2016-02-19 14:51:28 +11:00
Chris Johns
de1beea245 Disable installing PYO and PYC. Fix install paths.
Installing PYO and PYC does not work so disable this. Move the
Python check to the top level and have a single place.

Fix the install paths a revert the 'from . import' changes. This
is resolved by installing into the correct paths.
2016-02-19 11:26:51 +11:00
Sebastian Huber
66c6301c3f rtemstoolkit: Python 3 compatibility 2016-01-08 07:59:05 +01:00
Sebastian Huber
606c08c8b5 rtemstoolkit: msys2 compatibility 2016-01-08 07:58:54 +01:00
Chris Johns
a6f5f188ce Fix how to use the waf py feature to get py source and pyo file installed.
Thanks to ita for the example.
2015-12-11 17:17:22 +11:00
Chris Johns
3828e5033c VERSION as an INI format file.
One section is supported [version] with a 'release' entry.
2015-12-11 17:01:51 +11:00
Chris Johns
efc4f099b4 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.
2015-12-09 20:08:19 +11:00
Sebastian Huber
04a52040ae Python 3 compatibility 2015-11-12 11:15:23 +01:00
Sebastian Huber
5cb66b4def rtd-rtems.cpp: Default to version 4.12 2015-11-11 10:18:41 +01:00
Chris Johns
baa798a083 Update the versions strings. 2015-10-19 09:14:57 +11:00
Chris Johns
0382b6863b Fix Windows build issues.
Fix biulding the mmap Windows code.
Fix installing the files for Windows.
2015-10-19 09:06:49 +11:00
Ric Claus
5a801c25ef rtems-tester.txt, options.py: Improved clarity and spelling. 2015-09-26 17:16:44 +10:00
Chris Johns
b24951645d rtemstoolkit: Add support to return the system path split as paths.
Seacch the path for the program name if not found and set it as
an absolute path. This allow the prefix to be found.
2015-03-29 18:06:00 +11:00
Chris Johns
8531776882 rtemstoolkit: Add an array operator to return recs in a section. 2015-03-23 17:18:39 +11:00
Chris Johns
36e663162f rtemstoolkit: Remove warning on Windows. 2015-03-18 17:02:40 +11:00
Chris Johns
dfc5994847 elftoolchain: Add support for Cygwin. 2015-03-17 21:37:43 +11:00
Chris Johns
9600c39638 Fixes to the run the waf built tests when installed. 2015-02-08 18:14:16 +11:00
Chris Johns
b7d48ef5a4 Install the rtems-test command.
This installs the Python RTEMS Toolkit.

The copmiler has been switched from forcing gcc to allowing waf
to detect the host's tool chain.
2015-02-08 17:12:04 +11:00
Chris Johns
69c955d7a1 DEST_OS is linux and not linux2. 2015-01-21 10:51:48 +11:00
Chris Johns
3badbb0622 Add support to cross-compile. Use --hosti=.
On FreeBSD use --host=mingw32 for Windows. If you use another
OS you might need to add the specific windows host to the
top level wscript file.
2015-01-18 18:12:18 +11:00
Chris Johns
efae4ae5c6 toolkit: Print dependents in resolver. 2014-11-30 14:37:30 +11:00
Chris Johns
066a64b745 toolkit: Raise a user error and not an internal one. 2014-11-30 14:37:30 +11:00
Chris Johns
53e387d9a4 linkers: Merge the standard libraries into the user library paths.
The change to rld::split clears the user's library paths. Fix
this.
2014-11-04 19:39:57 +11:00
Chris Johns
ddbab71497 Fix buffer leak on error. 2014-11-04 09:40:15 +11:00
Ben Gras
0f93ea65b6 fix buffer size problem
(triggered runtime error on my machine)
2014-11-04 09:19:52 +11:00
Chris Johns
fdb1fe685a linkers: Add base image symbol to ELF object file generation.
This change adds support to the rtems-syms code to generate a suitable
ELF object you can link to the base image kernel in the embed mode or
you can load with the run-time load mode.

The change fixes a bug in the framework where local ELF symbols
were being placed in the external symbol table. The external
symbol table has been removed and a global, weak and local set
of tables is now provided as this is more aligned with the ELF
format.
2014-10-30 17:55:18 +11:00
Chris Johns
3fd45d35eb toolkit: Fix the map formatting. 2014-10-28 01:13:47 -07:00
Chris Johns
df7fd269ad toolkit: Update the comment. 2014-10-28 01:13:19 -07:00
Chris Johns
5025439f9d rtems-tld: Add config options, fix void args, and SCore traces. 2014-09-21 14:24:37 +10:00
Chris Johns
435d879bb6 rtk: Build fastlz into the rld library.
Do not build as an object per program.
2014-09-13 12:26:45 +10:00
Chris Johns
73eb48a045 rtk: Fix buffer leak in rld::path::abs_path. 2014-09-13 12:20:19 +10:00
Chris Johns
87e0e76be5 Refactor code into the RTEMS Toolkit. 2014-09-13 12:09:16 +10:00
Chris Johns
c04a84917a tester: Correctly handle contro-c.
Add support to kill running tests if the user presses control-c.
2014-05-31 20:03:05 +10:00
Chris Johns
50fdf12244 rt: Add the rtems-tester. 2014-02-15 06:30:06 +11:00