From 2dac1f02f4ede49a20d33dcd8680af941cdd87cb Mon Sep 17 00:00:00 2001 From: "Lei, Lu" Date: Sun, 29 Sep 2019 09:44:37 +0800 Subject: [PATCH] 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 --- doc/getting-started/building-from-source.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/getting-started/building-from-source.rst b/doc/getting-started/building-from-source.rst index b3f1f14f8..b7037ec74 100644 --- a/doc/getting-started/building-from-source.rst +++ b/doc/getting-started/building-from-source.rst @@ -257,6 +257,7 @@ top level of the acrn-hypervisor directory. The configuration file, named .. code-block:: none + $ cd hypervisor $ make defconfig BOARD=nuc6cayh The BOARD specified is used to select a ``defconfig`` under @@ -314,8 +315,8 @@ the file location as follows: .. code-block:: none - $ BOARD_FILE=/home/acrn-hypervisor/misc/acrn-config/xmls/board-xmls/apl-up2.xml - SCENARIO_FILE=/home/acrn-hypervisor/misc/acrn-config/xmls/config-xmls/apl-up2/sdc.xml FIRMWARE=uefi + $ make BOARD_FILE=$PWD/misc/acrn-config/xmls/board-xmls/nuc7i7dnb.xml \ + 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.