mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-25 20:25:33 +08:00
README.waf: Add steps to clone and bootstrap RTEMS
This commit is contained in:
parent
ff6534bb83
commit
b39854a862
27
README.waf
27
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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user