11 Commits

Author SHA1 Message Date
Chris Johns
635a28f1fb rtemstoolkit: Add a buffer helper class to insert and extract data. 2016-04-03 15:41:08 +10: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
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
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
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
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
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
87e0e76be5 Refactor code into the RTEMS Toolkit. 2014-09-13 12:09:16 +10:00