summaryrefslogtreecommitdiff
path: root/builder.py (follow)
AgeCommit message (Collapse)Author
2020-09-30waf: Fix test module dependency checkChris Johns
2020-09-16waf: Implement module dependency checking in the build systemChris Johns
- 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
2020-09-16build: Separate the kernel and user land include pathsChris Johns
- 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
2020-09-16waf: Add a config reportChris Johns
2020-09-16waf: Reformat to PEP8 using yapfChris Johns
2020-03-05waf: Change the test configure check for libdebugger to it's libChris Johns
- Add support for a 'test-if-library' - Use rtems_waf's 'test_application()' fragment in the check_cc call Closes #3948
2019-04-04builder.py: Add case for plain text files.Christian Mauderer
2019-02-18builder.py: Accept C++ source filesSebastian Huber
2018-08-27Allow *.c as kernel space header filesSebastian Huber
This is a workaround for the FreeBSD kernel space source file sys/opencrypto/xform.c which includes a bunch of *.c files. Update #3472.
2018-08-01waf: Allow to only generate lex and yacc.Christian Mauderer
In some applications, it's usefull if the files generated by lex or yacc are not build automatically. With that it is for example possible to create a wrapper source file that sets some defines before the generated code is parsed.
2018-05-04waf: Allow to add libs per test.Christian Mauderer
Update #3419.
2018-05-03buildset: Add minimal and everything config.Christian Mauderer
This adds two new buildset configurations: One that leaves out as much features as possible and one that enables all features. For the default configuration WiFi support is now disabled. To disable IPv6 for the minimal configuration, all -DINET6 are eliminated in libbsd.py. They are now replaced by a #ifdef that checks for RTEMS_BSD_MODULE_NETINET6 instead. Close #3351.
2018-04-10waf: Add configurations with different modules.Christian Mauderer
Update #3351
2018-04-10freebsd-to-rtems.py: Use all modules.Christian Mauderer
Update #3351
2018-04-10waf: Fix freebsd-to-rtems.py.Christian Mauderer
Update #3351
2018-04-10waf: Refactor libbsd.py to support per module generation.Chris Johns
This change allows us to control the modules we want to build. Update #3351
2018-04-10waf: Support building from libbsd.py directly from waf.Chris Johns
Remove the need to generate a waf script. Move various pieces of data from the builder code to libbsd.py and make it configuration data. Update #3351
2017-11-10Port wpa supplicant to RTEMS.Sichen Zhao
Add wpa_supplicant lib support and shell command support in RTEMS.
2017-10-24Remove ability to synchronize with LinuxSebastian Huber
2017-10-23Install Linux header filesSebastian Huber
2017-10-23waf: Install arch-specific header filesSebastian Huber
2017-10-23Import DPAA driver snapshotSebastian Huber
Imported from Freescale Linux repository git://git.freescale.com/ppc/upstream/linux.git commit 2774c204cd8bfc56a200ff4dcdfc9cdf5b6fc161. Linux compatibility layer is partly from FreeBSD.
2017-10-20scripts: Support CPU-dependent RTEMS source filesSebastian Huber
2017-10-20scripts: Support Linux importSebastian Huber
2017-10-20scripts: Generalize namesSebastian Huber
2017-10-16Install libpcap header filesSebastian Huber
2017-10-02Allow to set optimization level during configure.Christian Mauderer
This allows to set the optimization level for libbsd via a configure switch. Useful for building with for example no optimization during debug or with size optimization for space restricted targets.
2017-08-20Port openssl to RTEMS.Sichen Zhao
2017-08-20waf: Move glob operator ** to builder.pyChristian Mauderer
This allows a finer decision which headers should be installed.
2017-08-20waf_generator: Copy headers if necessary.Christian Mauderer
There are some cases, where a header is installed into a directory with a different name then it's source directory. In that case, the build might fail because the header is not found. One example would be the <openssl/opensslv.h>. The source for this file is in freebsd/crypto/openssl/crypto/opensslv.h. To allow the build to work in such cases too, copy such files into a temporary location in the build tree.
2017-06-08Use <sys/lock.h> provided by NewlibSebastian Huber
2017-06-08Update due to Newlib 2017-06-07 changesSebastian Huber
The following files are now provided by Newlib: * arpa/inet.h * net/if.h * netinet/in.h * netinet/tcp.h * sys/socket.h * sys/uio.h * sys/un.h The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be used directly. Update #2833.
2017-02-21C11/C++11 are the default for the RTEMS 4.12 GCCSebastian Huber
2017-01-17freebsd/wlanstats: Port to FreeBSD.Christian Mauderer
2017-01-17ifconfig/wlan, expat, lib80211: Port to RTEMS.Christian Mauderer
2017-01-10Update to FreeBSD head 2016-08-23Sebastian Huber
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2016-11-14Use -Wno-pointer-signSebastian Huber
Pointer sign warnings are quite common in FreeBSD code.
2016-10-13Fix FreeBSD source file reverse conversionSebastian Huber
2016-10-13Remove AppleTalk supportSebastian Huber
Prepare update to FreeBSD 11.
2016-05-31Add a stats report command.Chris Johns
The report shows the level of changes we have made to the FreeBSD code.
2016-05-30Directly use <sys/_types.h> provided by NewlibSebastian Huber
2016-05-30Directly use <sys/types.h> provided by NewlibSebastian Huber
2016-05-30Directly use <sys/time.h> provided by NewlibSebastian Huber
2016-05-04Fix coding to be CamelCase.Chris Johns
2016-05-04Add sys/rpc so it is installed.Chris Johns
2016-04-27waf: Refector the builder to work with Python3 and UTF-8 source files.Chris Johns
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-18Add RTEMS version support, update all python to 2 and 3.Chris Johns
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.
2015-11-12Use optimization level -O2Sebastian Huber
2015-09-25builder.py: addTargetSourceCPUDependentSourceFilesSebastian Huber
Avoid and delete this function.
2015-06-15Add tcpdump and libpcap.Chris Johns
- 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.