@@ -281,32 +281,69 @@ Build ACRN from Source
281
281
**********************
282
282
283
283
If you would like to build ACRN hypervisor and device model from source,
284
- follow these steps, using your NUC as a development system:
284
+ follow these steps.
285
285
286
- #. On your Clear Linux system, install the os-clr-on-clr bundle to get
287
- the necessary tools.
286
+ Install build tools and dependencies
287
+ ====================================
288
288
289
- .. code-block :: none
289
+ ARCN development is supported on popular Linux distributions,
290
+ each with their own way to install development tools:
291
+
292
+ * On a Clear Linux development system, install the ``os-clr-on-clr `` bundle to get
293
+ the necessary tools:
294
+
295
+ .. code-block :: console
296
+
297
+ $ sudo swupd bundle-add os-clr-on-clr
298
+
299
+ * On a Ubuntu/Debian development system:
300
+
301
+ .. code-block :: console
302
+
303
+ $ sudo apt install git \
304
+ gnu-efi \
305
+ libssl-dev \
306
+ libpciaccess-dev \
307
+ uuid-dev
308
+
309
+ * On a Fedora/doc/Redhat development system:
290
310
291
- # swupd bundle-add os-clr-on-clr
311
+ .. code-block :: console
312
+
313
+ $ sudo dnf install gcc \
314
+ libuuid-devel \
315
+ openssl-devel \
316
+ libpciaccess-devel
317
+
318
+ * On a CentOS development system:
319
+
320
+ .. code-block :: console
321
+
322
+ $ sudo yum install gcc \
323
+ libuuid-devel \
324
+ openssl-devel \
325
+ libpciaccess-devel
326
+
327
+ Build the hypervisor and device model
328
+ =====================================
292
329
293
330
#. Download the ACRN hypervisor and build it.
294
331
295
- .. code-block :: none
332
+ .. code-block :: console
296
333
297
- # git clone https://github.com/projectacrn/acrn-hypervisor
298
- # cd acrn-hypervisor
299
- # make PLATFORM=uefi
334
+ $ git clone https://github.com/projectacrn/acrn-hypervisor
335
+ $ cd acrn-hypervisor
336
+ $ make PLATFORM=uefi
300
337
301
338
The build results are found in the ``build `` directory.
302
339
303
340
#. Download the ACRN device model and build it.
304
341
305
- .. code-block :: none
342
+ .. code-block :: console
306
343
307
- # git clone https://github.com/projectacrn/acrn-devicemodel
308
- # cd acrn-devicemodel
309
- # make
344
+ $ git clone https://github.com/projectacrn/acrn-devicemodel
345
+ $ cd acrn-devicemodel
346
+ $ make
310
347
311
348
The build results are found in the ``build `` directory.
312
349
0 commit comments