From b39854a862b1c99ad695b5ce67c16da82dc7a7d0 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 6 May 2016 11:10:12 +0200 Subject: README.waf: Add steps to clone and bootstrap RTEMS --- README.waf | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'README.waf') diff --git a/README.waf b/README.waf index c0adec48..31c2e281 100644 --- a/README.waf +++ b/README.waf @@ -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. -- cgit v1.2.3