forked from RTEMS/rtems-docs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbsd: Quick Start Guide for RTEMS LibBSD
This guide has instructions to build the RTESM LibBSD manually for Beagle BSP.
- Loading branch information
1 parent
238b48f
commit 3fd0076
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.. COMMENT: Written by Husni Faiz | ||
.. SPDX-License-Identifier: CC-BY-SA-4.0 | ||
Quick Start | ||
########### | ||
|
||
The LibBSD is a standalone repository and needs to be built | ||
separately. | ||
|
||
The repository can be found here: https://git.rtems.org/rtems-libbsd/ | ||
|
||
Manual LibBSD Build | ||
=================== | ||
|
||
Pre-requisites: | ||
|
||
- Built the tool set for your BSP | ||
|
||
- Built and installed RTEMS for your BSP with networking disabled and | ||
POSIX API enabled. | ||
|
||
The following guide uses the Beagle BSP. | ||
|
||
Get the RTEMS LibBSD source | ||
|
||
.. code-block:: shell | ||
git clone https://git.rtems.org/rtems-libbsd/ | ||
cd rtems-libbsd | ||
Get the RTEMS Waf build systems | ||
|
||
.. code-block:: shell | ||
git submodule init | ||
git submodule update rtems_waf | ||
Configure the build. | ||
|
||
.. code-block:: shell | ||
./waf configure --prefix=/path/to/rtems/prefix \ | ||
--rtems-bsps=arm/beagleboneblack \ | ||
--buildset=buildset/default.ini | ||
Build and Install | ||
|
||
.. code-block:: shell | ||
./waf | ||
./waf install |