@@ -275,7 +275,9 @@ the hypervisor using the updated ``.config``.
275
275
276
276
.. code-block :: none
277
277
278
- $ make menuconfig # Modify the configurations per your needs
278
+ # Modify the configurations per your needs
279
+ $ cd ../ # Enter top-level folder of acrn-hypervisor source
280
+ $ make menuconfig -C hypervisor BOARD=kbl-nuc-i7 <select industry scenario>
279
281
280
282
.. note ::
281
283
Menuconfig is python3 only.
@@ -293,7 +295,6 @@ Now you can build all these components in one go as follows:
293
295
294
296
.. code-block :: none
295
297
296
- $ cd ../ # Enter top-level folder of acrn-hypervisor source
297
298
$ make FIRMWARE=uefi # Build the UEFI hypervisor with the new .config
298
299
299
300
The build results are found in the ``build `` directory. You can specify
@@ -304,35 +305,14 @@ If you only need the hypervisor, then use this command:
304
305
305
306
.. code-block :: none
306
307
307
- $ make clean # Remove files previously built
308
- $ make FIRMWARE=uefi hypervisor # This will only build the hypervisor
308
+ $ make clean # Remove files previously built
309
+ $ make -C hypervisor
310
+ $ make -C misc/efi-stub HV_OBJDIR=$PWD/hypervisor/build EFI_OBJDIR=$PWD/hypervisor/build
309
311
310
- You could also use `` FIRMWARE=sbl `` instead, to build the Intel SBL
312
+ The acrn.efi will be generated in directory: . /hypervisor/build/acrn.efi
311
313
(`Slim bootloader
312
314
<https://www.intel.com/content/www/us/en/design/products-and-solutions/technologies/slim-bootloader/overview.html> `_)
313
315
hypervisor.
314
316
315
317
Follow the same instructions to boot and test the images you created from your build.
316
318
317
- Save as default configuration
318
- *****************************
319
-
320
- Currently the ACRN hypervisor looks for default configurations under
321
- ``hypervisor/arch/x86/configs/<BOARD>.config ``, where ``<BOARD> `` is the
322
- specified platform. The following steps allow you to create a defconfig for
323
- another platform based on a current one.
324
-
325
- .. code-block :: none
326
-
327
- $ cd hypervisor
328
- $ make defconfig BOARD=nuc6cayh
329
- $ make menuconfig # Modify the configurations
330
- $ make savedefconfig # The minimized config reside at build/defconfig
331
- $ cp build/defconfig arch/x86/configs/xxx.config
332
-
333
- Then you can re-use that configuration by passing the name (``xxx `` in the
334
- example above) to 'BOARD=':
335
-
336
- .. code-block :: none
337
-
338
- $ make defconfig BOARD=xxx
0 commit comments