diff --git a/doc/getting-started/building-from-source.rst b/doc/getting-started/building-from-source.rst
index 98afea57f..0d4c44c8b 100644
--- a/doc/getting-started/building-from-source.rst
+++ b/doc/getting-started/building-from-source.rst
@@ -6,7 +6,10 @@ Build ACRN from Source
Introduction
************
-Following a general embedded-system programming model, the ACRN hypervisor is designed to be customized at build time per hardware platform and per usage scenario, rather than one binary for all scenarios.
+Following a general embedded-system programming model, the ACRN
+hypervisor is designed to be customized at build time per hardware
+platform and per usage scenario, rather than one binary for all
+scenarios.
The hypervisor binary is generated based on Kconfig configuration
settings. Instructions about these settings can be found in
@@ -46,10 +49,16 @@ these steps.
.. _install-build-tools-dependencies:
-Step 1: Install build tools and dependencies
-********************************************
+.. rst-class:: numbered-step
-ACRN development is supported on popular Linux distributions, each with their own way to install development tools. This user guide covers the different steps to configure and build ACRN natively on your distribution. Refer to the :ref:`building-acrn-in-docker` user guide for instructions on how to build ACRN using a container.
+Install build tools and dependencies
+************************************
+
+ACRN development is supported on popular Linux distributions, each with
+their own way to install development tools. This user guide covers the
+different steps to configure and build ACRN natively on your
+distribution. Refer to the :ref:`building-acrn-in-docker` user guide for
+instructions on how to build ACRN using a container.
.. note::
ACRN uses ``menuconfig``, a python3 text-based user interface (TUI) for configuring hypervisor options and using python's ``kconfiglib`` library.
@@ -88,7 +97,9 @@ Install the necessary tools for the following systems:
$ sudo pip3 install kconfiglib
.. note::
- Use ``gcc`` version 7.3.* or higher to avoid gcc compilation issues. Follow these instructions to install the ``gcc-7`` package on Ubuntu 18.04:
+ Use ``gcc`` version 7.3.* or higher to avoid gcc compilation
+ issues. Follow these instructions to install the ``gcc-7`` package on
+ Ubuntu 18.04:
.. code-block:: none
@@ -103,8 +114,10 @@ Install the necessary tools for the following systems:
Verify your version of ``binutils`` with the command ``apt show binutils``.
-Step 2: Get the ACRN hypervisor source code
-*******************************************
+.. rst-class:: numbered-step
+
+Get the ACRN hypervisor source code
+***********************************
The `acrn-hypervisor `_
repository contains four main components:
@@ -121,8 +134,10 @@ Enter the following to get the acrn-hypervisor source code:
$ git clone https://github.com/projectacrn/acrn-hypervisor
-Step 3: Build with the ACRN scenario
-************************************
+.. rst-class:: numbered-step
+
+Build with the ACRN scenario
+****************************
Currently, the ACRN hypervisor defines these typical usage scenarios:
@@ -148,7 +163,7 @@ HYBRID:
Assuming that you are at the top level of the acrn-hypervisor directory, perform the following:
.. note::
- The release version is built by default, 'RELEASE=0' builds the debug version.
+ The release version is built by default, ``RELEASE=0`` builds the debug version.
* Build the ``INDUSTRY`` scenario on the ``nuc7i7dnb``:
@@ -156,14 +171,11 @@ Assuming that you are at the top level of the acrn-hypervisor directory, perform
$ make all BOARD=nuc7i7dnb SCENARIO=industry RELEASE=0
-* Build the ``INDUSTRY`` scenario on the ``whl-ipc-i5``:
+* Build the ``HYBRID`` scenario on the ``whl-ipc-i5``:
.. code-block:: none
- $ make all BOARD=whl-ipc-i5 SCENARIO=industry BOARD_FILE=/absolute_path/
- acrn-hypervisor/misc/acrn-config/xmls/board-xmls/whl-ipc-i5.xml SCENARIO_FILE=
- /absolute_patch/acrn-hypervisor/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/industry.xml
- RELEASE=0
+ $ make all BOARD=whl-ipc-i5 SCENARIO=hybrid RELEASE=0
* Build the ``SDC`` scenario on the ``nuc6cayh``:
@@ -176,8 +188,10 @@ for each scenario.
.. _getting-started-hypervisor-configuration:
-Step 4: Build the hypervisor configuration
-******************************************
+.. rst-class:: numbered-step
+
+Build the hypervisor configuration
+**********************************
Modify the hypervisor configuration
===================================
@@ -200,7 +214,8 @@ top level of the acrn-hypervisor directory. The configuration file, named
$ make defconfig BOARD=nuc6cayh
The BOARD specified is used to select a ``defconfig`` under
-``arch/x86/configs/``. The other command line-based options (e.g. ``RELEASE``) take no effect when generating a defconfig.
+``arch/x86/configs/``. The other command line-based options (e.g.
+``RELEASE``) take no effect when generating a defconfig.
To modify the hypervisor configurations, you can either edit ``.config``
manually, or you can invoke a TUI-based menuconfig--powered by kconfiglib--by
@@ -213,7 +228,7 @@ configurations and build the hypervisor using the updated ``.config``:
# Modify the configurations per your needs
$ cd ../ # Enter top-level folder of acrn-hypervisor source
- $ make menuconfig -C hypervisor BOARD=kbl-nuc-i7