diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-06 11:10:12 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-06 11:10:12 +0200 |
commit | b39854a862b1c99ad695b5ce67c16da82dc7a7d0 (patch) | |
tree | b3469def5c57e9041233361683772371ae11090c /README.waf | |
parent | README.waf: Master branch must use 4.12 (diff) | |
download | rtems-libbsd-b39854a862b1c99ad695b5ce67c16da82dc7a7d0.tar.bz2 |
README.waf: Add steps to clone and bootstrap RTEMS
Diffstat (limited to 'README.waf')
-rw-r--r-- | README.waf | 27 |
1 files changed, 20 insertions, 7 deletions
@@ -47,25 +47,38 @@ We will build an ARM Realview PBX A9 QEMU BSP using the name Steps ----- -1. Build and install the tools. In this example the path is +1. Clone the RTEMS Source Build (RSB): + + $ git clone git://git.rtems.org/rtems-source-builder.git + +2. Build and install the tools. In this example the path is /opt/rtems/4.12/tools: $ cd rtems-source-builder/rtems $ ../source-builder/sb-set-builder \ --prefix=/opt/rtems/4.12/tools 4.12/rtems-arm -2. Build and install the RTEMS Board Support Packages (BSP) you want to use. In +3. Clone RTEMS: + + $ git clone git://git.rtems.org/rtems.git rtems-4.12 + +4. Bootstrap the RTEMS sources: + + $ cd rtems-4.12 + $ ./bootstrap + +5. Build and install the RTEMS Board Support Packages (BSP) you want to use. In this example the path is /opt/rtems/4.12/bsps: - $ mkdir realview_pbx_a9_qemu - $ cd realview_pbx_a9_qemu + $ mkdir b-realview_pbx_a9_qemu + $ cd b-realview_pbx_a9_qemu $ ../rtems-4.12/configure \ --target=arm-rtems4.12 --prefix=/opt/rtems/4.12/bsps \ --disable-networking --enable-rtemsbsp=realview_pbx_a9_qemu $ make $ make install -3. Populate the rtems_waf git submodule: +6. Populate the rtems_waf git submodule: $ cd rtems-libbsd $ git submodule init @@ -74,7 +87,7 @@ Steps Note, make sure you specify 'rtems_waf' or the FreeBSD kernel source will be cloned. -4. Run Waf's configure with your specific settings. In this case the path to +7. Run Waf's configure with your specific settings. In this case the path to the tools and RTEMS are provided on the command line and so do not need to be in your path or environment [1]: @@ -90,7 +103,7 @@ Steps Note, you must provide the architecture and BSP as a pair. Providing just the BSP name will fail. -6. Build and install: +8. Build and install: The LibBSD package will be installed into the prefix provided to configure. |