[PATCH rtems-libbsd 1/5] libbsd: Quick Start Guide for RTEMS LibBSD

Husni Faiz ahamedhusni73 at gmail.com
Sun Aug 1 19:25:42 UTC 2021


This guide has instructions to build the RTESM LibBSD
manually for Beagle BSP.

Signed-off-by: Husni Faiz <ahamedhusni73 at gmail.com>
---
 libbsd/quick_start.rst | 51 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 libbsd/quick_start.rst

diff --git a/libbsd/quick_start.rst b/libbsd/quick_start.rst
new file mode 100644
index 0000000..ec8500d
--- /dev/null
+++ b/libbsd/quick_start.rst
@@ -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
-- 
2.25.1



More information about the devel mailing list