mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 11:55:36 +08:00
Update LibBSD doco.
This commit is contained in:
15
libbsd.txt
15
libbsd.txt
@@ -115,6 +115,16 @@ devices (you can run multiple test instances on one virtual network).
|
|||||||
|
|
||||||
=== BSD Library Configuration and Build ===
|
=== BSD Library Configuration and Build ===
|
||||||
|
|
||||||
|
There are currently 2 build systems supported. The first is based on the RTEMS
|
||||||
|
Makefile support in RTEMS and installed with the BSP and the second is a stand
|
||||||
|
alone environment based on the Waf build system. The Makefile build system will
|
||||||
|
be removed when RTEMS moves away from its existing build system and Waf will
|
||||||
|
be the preferred build environment.
|
||||||
|
|
||||||
|
To build with Waf please refer to the README.waf file.
|
||||||
|
|
||||||
|
===== Makefile Building =====
|
||||||
|
|
||||||
In the BSD library source directory edit the file `config.inc`. Continuing on
|
In the BSD library source directory edit the file `config.inc`. Continuing on
|
||||||
the above, the `config.inc` used to match the above is:
|
the above, the `config.inc` used to match the above is:
|
||||||
|
|
||||||
@@ -526,7 +536,7 @@ freebsd-to-rtems.py [args]
|
|||||||
|
|
||||||
In its default mode of operation, freebsd-to-rtems.py is used to copy code
|
In its default mode of operation, freebsd-to-rtems.py is used to copy code
|
||||||
from FreeBSD to the rtems-libbsd tree and perform transformations. In forward
|
from FreeBSD to the rtems-libbsd tree and perform transformations. In forward
|
||||||
mode, the script may be requested to just generate the Makefile.
|
mode, the script may be requested to just generate the Makefile and Waf script.
|
||||||
|
|
||||||
In "reverse mode", this script undoes those transformations and copies
|
In "reverse mode", this script undoes those transformations and copies
|
||||||
the source code back to the FreeBSD SVN tree. This allows us to do
|
the source code back to the FreeBSD SVN tree. This allows us to do
|
||||||
@@ -1078,6 +1088,3 @@ defined the mmap method is called. Additionally, it is not used
|
|||||||
thoroughly. It is not used in the unmap portion of the source.
|
thoroughly. It is not used in the unmap portion of the source.
|
||||||
The file rec_open.c uses the define MMAP_NOT_AVAILABLE to wrap
|
The file rec_open.c uses the define MMAP_NOT_AVAILABLE to wrap
|
||||||
the call to mmap and file rec_close.c uses the munmap method.
|
the call to mmap and file rec_close.c uses the munmap method.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user