- Do not build a test if a dependency is not enabled.
- Perform a dependency check and generate an error if an enabled module
depends on a disabled module.
Closes#4077
- Provide support for separate user and kernel include paths in
libbsd.py.
- Update all added files with a suitable context to build them
with. Supported contexts are `kernel` and `user`.
- Kernel source use the kernel, CPU, and build header paths in
this order.
- User source use the user, kernel, CPU and build header paths
in this order. The FreeBSD /usr/include tree has some kernel
header files installed as well as user land header files. This
complicates the separation as some kernel header files are not
visible to user land code while other are. This is handled by
appending the kernel header paths to the user header paths so
user land code will include a user header with the same name as
a kernel header over the kernel header but will find a kernel
header if there is no matching user header file.
Closes#4067
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.
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.
- 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.