summaryrefslogtreecommitdiffstats
path: root/waf_libbsd.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Ensure mandatory compiler/linker flagsSebastian Huber2022-06-231-4/+4
| | | | Make sure the flags are present in all build configurations.
* waf_libbsd: Fix typo in previous patchKinsey Moore2021-10-081-1/+1
| | | | | | There was a typo in the patch that added the HAVE_<LIBRARY> definition that prevented "./waf configure" from succeeding. This adds the missing character.
* waf_libbsd: Account for library check resultsKinsey Moore2021-10-061-4/+5
| | | | | | | | | | | Conditionally compiled tests (consisting only of debugger01) were not compiling as expected when libdebugger was present. This appears to have occurred during the transition from header detection or due to an intervening change in the waf internal libraries. The result of check_cc() is the only location this information is reported, so library checks now set HAVE_<LIBRARY> as appropriate when the library is found so existing code for header configuration correctly recognize that a library is present.
* waf_libbsd.py: Apply path-mappings to header-pathsJan Sommer2021-06-071-10/+17
|
* waf: Fix test module dependency checkChris Johns2020-09-301-1/+6
|
* build: Ensure mandatory compiler/linker flagsSebastian Huber2020-09-211-0/+8
|
* waf: Implement module dependency checking in the build systemChris Johns2020-09-161-6/+16
| | | | | | | | | - 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-69/+98
| | | | | | | | | | | | | | | | | | | | | | | - 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: Reformat to PEP8 using yapfChris Johns2020-09-161-117/+122
|
* build: Do not convert cflags to definesSebastian Huber2020-08-061-11/+3
| | | | | This makes it possible to use module-specific C flags, for example to instrument functions (-finstrument-functions).
* testsuite: Using RTEMS tester functions at beginning and at the end of testsMoyano, Gabriel2020-03-311-1/+1
| | | | puts() was replaced with rtems_test_begin() and rtems_test_end()
* waf: Change the test configure check for libdebugger to it's libChris Johns2020-03-051-7/+21
| | | | | | | | | - Add support for a 'test-if-library' - Use rtems_waf's 'test_application()' fragment in the check_cc call Closes #3948
* i386: Add to buildJan Sommer2020-02-101-1/+1
|
* config: Control the interface from the command line net config file.Chris Johns2019-06-121-1/+2
|
* Fix the sed generator for processing INI configuration files.Chris Johns2019-04-041-2/+2
|
* build: Make it possible to disable the testsSebastian Huber2019-02-181-1/+3
|
* waf: Allow to only generate lex and yacc.Christian Mauderer2018-08-011-12/+14
| | | | | | | 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: Fix python3 compatibility.Christian Mauderer2018-05-241-0/+5
|
* waf: Allow to add libs per test.Christian Mauderer2018-05-041-1/+3
| | | | Update #3419.
* waf: Generate a rtems/bsd/modules.hChristian Mauderer2018-05-031-0/+32
| | | | | | | | The generated file defines a RTEMS_BSD_MODULE_xxx for each enabled module. That is usefull for conditional compilation depending on whether a module is build not. Update #3351.
* waf: Fix source code generators.Christian Mauderer2018-05-031-6/+6
| | | | | There have been some bugs with the strings left from the transition to directly building from libbsd.py.
* waf: Fix usage of build-include from config.Christian Mauderer2018-05-031-2/+6
|
* Use network services from RTEMSSebastian Huber2018-04-301-1/+1
| | | | Close #3419.
* waf: Add configurations with different modules.Christian Mauderer2018-04-101-9/+0
| | | | Update #3351
* waf: Fix freebsd-to-rtems.py.Christian Mauderer2018-04-101-156/+0
| | | | Update #3351
* waf: Refactor libbsd.py to support per module generation.Chris Johns2018-04-101-1/+3
| | | | | | 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-0/+644
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