doc: update build from source

1. Update build the hypervisor with XML file command.
2. Add "cd hypervisor" before "make defconfig BOARD=nuc6cayh"

Signed-off-by: Lei, Lu <leix.lu@intel.com>
This commit is contained in:
Lei, Lu 2019-09-29 09:44:37 +08:00 committed by wenlingz
parent ebf8bb63f4
commit 48518940a9

View File

@ -257,6 +257,7 @@ top level of the acrn-hypervisor directory. The configuration file, named
.. code-block:: none .. code-block:: none
$ cd hypervisor
$ make defconfig BOARD=nuc6cayh $ make defconfig BOARD=nuc6cayh
The BOARD specified is used to select a ``defconfig`` under The BOARD specified is used to select a ``defconfig`` under
@ -314,8 +315,8 @@ the file location as follows:
.. code-block:: none .. code-block:: none
$ BOARD_FILE=/home/acrn-hypervisor/misc/acrn-config/xmls/board-xmls/apl-up2.xml $ make BOARD_FILE=$PWD/misc/acrn-config/xmls/board-xmls/nuc7i7dnb.xml \
SCENARIO_FILE=/home/acrn-hypervisor/misc/acrn-config/xmls/config-xmls/apl-up2/sdc.xml FIRMWARE=uefi SCENARIO_FILE=$PWD/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry.xml FIRMWARE=uefi
Note that the file path must be absolute. Both of the ``BOARD`` and ``SCENARIO`` parameters are not needed because the information is retrieved from the XML file. Adjust the example above to your own environment path. Note that the file path must be absolute. Both of the ``BOARD`` and ``SCENARIO`` parameters are not needed because the information is retrieved from the XML file. Adjust the example above to your own environment path.