24 Commits

Author SHA1 Message Date
Chris Johns
4cd76f2bd8 waf: Do not filter flags to be unique using set()
Filtering the flags to be unique using `set()` changes the order and
this results in waf thinking the flags have changed rebuilding various
pieces of code.
2019-09-05 09:47:01 +10:00
Chris Johns
d7979dece6 waf: Update the check_cc tests to a newer method supported by waf.
- Fix a minor issue in covoar's use of 64bit calls.
2019-05-27 10:08:27 +10:00
Chris Johns
09f4dbea55 rtemstoolkit:libelf: Removing warning for asprintf on Windows. 2018-11-29 08:16:39 +11:00
Chris Johns
e058db0281 python: Provide support to select a valid python version.
- Update imports after wrapping the code.
- Fix python3 issues.
- Fix config path issues for in repo and install runs.

Closes #3537
2018-11-08 18:13:45 +11:00
Chris Johns
5416cfa39d config: Create a config directory and move the RTEMS arch/bsp data to it.
Closes #3536
2018-10-02 16:49:54 +10:00
Chris Johns
1f1a10f471 elftoolchain: Add libelftc. 2018-06-18 12:26:16 +10:00
Chris Johns
558cab8e4f rtemstoolkit: Add libdwarf C++ interface.
Provide a C++ interface to libdwarf to:
 - Manage DWARF debug data
 - Manage CU
 - Manage DIE
 - Handle CU line addresses
 - Handle CU source files

Update #3417
2018-06-15 15:54:25 +10:00
Chris Johns
4bb3996f2c rtemstoolkit: Add libdwarf from elftoolchain.
The code is taken from:

 https://svn.code.sf.net/p/elftoolchain/code/trunk

Update #3417
2018-04-30 15:40:40 +10:00
Chris Johns
771e7f162e rtemstoolkit: Update elftoolchain to the latest code.
The update is taken from:

 https://svn.code.sf.net/p/elftoolchain/code/trunk

Update #3417
2018-04-30 15:18:34 +10:00
Sebastian Huber
5df7c3cd51 Install missing files 2017-10-10 20:07:15 +02:00
Chris Johns
78bbe4c1a3 linkers/exe-info Support ARM static constructors.
Note, ARM destructors are registered at runtime and currently not
easly found.

Update libiberty to get a newer demangler.

Closes #3102.
2017-08-16 18:18:35 +10:00
Chris Johns
ed80d2c041 rtemstoolkit: Add the configuration.py module to the install. 2017-05-16 16:43:19 +10:00
Chris Johns
224fb21b30 rtemstoolkit: Add a textbox module for formatted reporting. 2017-04-25 02:38:40 +10:00
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