summaryrefslogtreecommitdiffstats
path: root/waf_libbsd.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* waf: Move the tools/BSP include path to be lastChris Johns2021-10-211-8/+21
| | | | - This change lets you rebuild libbsd after it is installed
* 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.
* rtemsbsd/nfs: Add support to mount NFSv2Chris Johns2021-09-021-20/+60
| | | | | | | | | - NFSv2 requires userland RPC calls to determine the version of NFS and the FH. This is passed to the kernel. - Port more libc/rpc. Update #4475
* kern/sys: Add NFSv4 clientChris Johns2021-08-311-9/+23
| | | | Update #4475
* rtemsbsd: Present all ZynqMP interfaces by defaultKinsey Moore2021-07-151-3/+1
| | | | | Now that the issue with false PHY detection on unterminated MII busses has been resolved, present all hardware interfaces for use on ZynqMP.
* rtemsbsd: Use config.inc to control ZynqMP ethernetKinsey Moore2021-07-011-1/+3
| | | | | | | This alters the selection of the 4 Cadence GEM interfaces on the Zynq Ultrascale+ MPSoC BSP to be provided by config.inc instead of being provided by options in the RTEMS BSP itself since those options appear to be dead code when not used in conjunction with LibBSD.
* waf_libbsd.py: Apply path-mappings to header-pathsJan Sommer2021-06-091-10/+17
|
* waf: Fix test module dependency checkChris Johns2020-09-301-1/+6
|
* build: Ensure mandatory compiler/linker flagsSebastian Huber2020-09-191-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-67/+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-06-251-11/+3
| | | | | This makes it possible to use module-specific C flags, for example to instrument functions (-finstrument-functions).
* waf: Add path-mappings featureJan Sommer2020-04-171-2/+11
| | | | | | - path-mappings allow to fix autogenerated include paths for some corner cases of target platforms without the need to change the build system - Currently used for i386 based bsps
* 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
* Fix the sed generator for processing INI configuration files.Chris Johns2019-06-261-2/+2
|
* config: Control the interface from the command line net config file.Chris Johns2019-06-131-1/+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