summaryrefslogtreecommitdiffstats
path: root/builder.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* builder.py: Fix addition of plain text filesSebastian Huber2022-02-231-1/+1
|
* builder.py: Only disable tests if they are thereChristian Mauderer2021-06-161-1/+2
| | | | | For checking the dependencies, the tests are removed. But if the tests are not enabled at all, that triggers a python exception.
* waf: Fix test module dependency checkChris Johns2020-09-301-8/+14
|
* waf: Implement module dependency checking in the build systemChris Johns2020-09-161-17/+97
| | | | | | | | | - 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
* build: Separate the kernel and user land include pathsChris Johns2020-09-161-141/+195
| | | | | | | | | | | | | | | | | | | | | | | - 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
* waf: Add a config reportChris Johns2020-09-161-22/+59
|
* waf: Reformat to PEP8 using yapfChris Johns2020-09-161-166/+292
|
* waf: Change the test configure check for libdebugger to it's libChris Johns2020-03-051-3/+27
| | | | | | | | | - Add support for a 'test-if-library' - Use rtems_waf's 'test_application()' fragment in the check_cc call Closes #3948
* builder.py: Add case for plain text files.Christian Mauderer2019-04-041-0/+8
|
* builder.py: Accept C++ source filesSebastian Huber2019-02-181-2/+2
|
* Allow *.c as kernel space header filesSebastian Huber2018-08-271-2/+8
| | | | | | | | | | This is a workaround for the FreeBSD kernel space source file sys/opencrypto/xform.c which includes a bunch of *.c files. Update #3472.
* waf: Allow to only generate lex and yacc.Christian Mauderer2018-08-011-4/+8
| | | | | | | 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.
* waf: Allow to add libs per test.Christian Mauderer2018-05-041-4/+7
| | | | Update #3419.
* buildset: Add minimal and everything config.Christian Mauderer2018-05-031-0/+1
| | | | | | | | | | | | 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.
* waf: Add configurations with different modules.Christian Mauderer2018-04-101-6/+7
| | | | Update #3351
* freebsd-to-rtems.py: Use all modules.Christian Mauderer2018-04-101-2/+6
| | | | Update #3351
* waf: Fix freebsd-to-rtems.py.Christian Mauderer2018-04-101-0/+153
| | | | Update #3351
* waf: Refactor libbsd.py to support per module generation.Chris Johns2018-04-101-3/+24
| | | | | | This change allows us to control the modules we want to build. Update #3351
* waf: Support building from libbsd.py directly from waf.Chris Johns2018-04-101-149/+9
| | | | | | | | | 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
* Port wpa supplicant to RTEMS.Sichen Zhao2017-11-101-0/+1
| | | | Add wpa_supplicant lib support and shell command support in RTEMS.
* Remove ability to synchronize with LinuxSebastian Huber2017-10-241-10/+9
|
* Install Linux header filesSebastian Huber2017-10-231-0/+1
|
* waf: Install arch-specific header filesSebastian Huber2017-10-231-0/+1
|
* Import DPAA driver snapshotSebastian Huber2017-10-231-0/+2
| | | | | | | | | | Imported from Freescale Linux repository git://git.freescale.com/ppc/upstream/linux.git commit 2774c204cd8bfc56a200ff4dcdfc9cdf5b6fc161. Linux compatibility layer is partly from FreeBSD.
* scripts: Support CPU-dependent RTEMS source filesSebastian Huber2017-10-201-0/+15
|
* scripts: Support Linux importSebastian Huber2017-10-201-0/+39
|
* scripts: Generalize namesSebastian Huber2017-10-201-28/+28
|
* Install libpcap header filesSebastian Huber2017-10-161-0/+2
|
* Allow to set optimization level during configure.Christian Mauderer2017-10-021-2/+1
| | | | | | 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.
* Port openssl to RTEMS.Sichen Zhao2017-08-201-0/+58
|
* waf: Move glob operator ** to builder.pyChristian Mauderer2017-08-201-13/+13
| | | | This allows a finer decision which headers should be installed.
* waf_generator: Copy headers if necessary.Christian Mauderer2017-08-201-0/+14
| | | | | | | | | | | 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.
* Use <sys/lock.h> provided by NewlibSebastian Huber2017-06-081-1/+0
|
* Update due to Newlib 2017-06-07 changesSebastian Huber2017-06-081-3/+0
| | | | | | | | | | | | | | | | | 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.
* C11/C++11 are the default for the RTEMS 4.12 GCCSebastian Huber2017-02-211-2/+2
|
* freebsd/wlanstats: Port to FreeBSD.Christian Mauderer2017-01-171-0/+1
|
* ifconfig/wlan, expat, lib80211: Port to RTEMS.Christian Mauderer2017-01-171-0/+2
|
* Update to FreeBSD head 2016-08-23Sebastian Huber2017-01-101-2/+2
| | | | Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
* Use -Wno-pointer-signSebastian Huber2016-11-141-1/+2
| | | | Pointer sign warnings are quite common in FreeBSD code.
* Fix FreeBSD source file reverse conversionSebastian Huber2016-10-131-0/+2
|
* Remove AppleTalk supportSebastian Huber2016-10-131-1/+0
| | | | Prepare update to FreeBSD 11.
* Add a stats report command.Chris Johns2016-05-311-10/+86
| | | | The report shows the level of changes we have made to the FreeBSD code.
* Directly use <sys/_types.h> provided by NewlibSebastian Huber2016-05-301-1/+0
|
* Directly use <sys/types.h> provided by NewlibSebastian Huber2016-05-301-1/+0
|
* Directly use <sys/time.h> provided by NewlibSebastian Huber2016-05-301-1/+0
|
* Fix coding to be CamelCase.Chris Johns2016-05-041-36/+36
|
* Add sys/rpc so it is installed.Chris Johns2016-05-041-0/+1
|
* waf: Refector the builder to work with Python3 and UTF-8 source files.Chris Johns2016-04-271-124/+212
| | | | | | | | 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 RTEMS version support, update all python to 2 and 3.Chris Johns2016-04-181-9/+20
| | | | | | | | | | | | | 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.
* Use optimization level -O2Sebastian Huber2015-11-121-1/+1
|