11 Commits

Author SHA1 Message Date
Chris Johns
533808975e Fix coding to be CamelCase. 2016-05-04 16:24:11 +10:00
Chris Johns
f478e3c6e5 Add sys/rpc so it is installed. 2016-05-04 15:58:25 +10:00
Chris Johns
f1fcdba863 waf: Refector the builder to work with Python3 and UTF-8 source files.
Python 3 requires better UTF-8 handling of files and FreeBSD has UTF-8
characters in some files.

Refactor builder.py to clean up the code and remove the need to have
a temporary file. Update other scripts to use the new code.
2016-04-27 12:08:23 +10:00
Chris Johns
97c5024a79 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.
2016-04-18 10:53:20 +10:00
Sebastian Huber
c6899159e4 Use optimization level -O2 2015-11-12 13:12:22 +01:00
Sebastian Huber
40f7d5cf7d builder.py: addTargetSourceCPUDependentSourceFiles
Avoid and delete this function.
2015-09-25 14:14:04 +02:00
Chris Johns
8440506ee8 Add tcpdump and libpcap.
- Update the file builder generator to handle generator specific cflags and
  includes. The tcpdump and libpcap have localised headers and need specific
  headers paths to see them. There are also module specific flags and these
  need to be passed to the lex and yacc generators.

- Add the tcpdump support.
2015-06-15 17:42:23 +10:00
Chris Johns
0768880d75 waf: Add install support.
Install to the --prefix path passed to configure.
2015-05-21 17:01:34 +10:00
Chris Johns
e9aa953789 waf: Add warnings and auto-regen options. 2015-05-20 22:00:11 +10:00
Chris Johns
5ba6949578 Add support to build using waf. 2015-05-20 17:45:16 +10:00
Chris Johns
314be23eec freebsd-to-rtems: Refactor the conversion support to allow multiples build systems.
Split the freebsd-to-rtems.py into separate parts to allow more than
a single build system generator.
2015-05-15 14:08:42 +02:00