summaryrefslogtreecommitdiffstats
path: root/docs/2.Building.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/2.Building.md')
-rw-r--r--docs/2.Building.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/2.Building.md b/docs/2.Building.md
index 237d834..3e42746 100644
--- a/docs/2.Building.md
+++ b/docs/2.Building.md
@@ -2,21 +2,23 @@ Building AVIRT
===================================
## Table of Contents
+
1. [Introduction](#intro)
-2. [Out of Tree](#out-of-tree)
+2. [Out of Tree](#out-of-tree)
3. [In Tree](#in-tree)
<a name="intro"/>
## Introduction
-The AVIRT module and submodules can be built using a variety of methods. There are Visual Code build tasks for in and out of tree builds, make file support for CLI building (both in and out of tree), and xds build support.
+The AVIRT module and submodules can be built using a variety of methods. There are Visual Code build tasks for in and out of tree builds, make file support for CLI building (both in and out of tree), and xds build support.
<a name="out-of-tree"/>
## Out Of Tree
### Building with CLI
+
To build both AVIRT and the additional Audio Paths out-of-tree, use the following command:
```sh
@@ -24,12 +26,15 @@ $ make
```
or
+
```sh
$ CONFIG_AVIRT=m CONFIG_AVIRT_BUILDLOCAL=y CONFIG_AVIRT_DUMMYAP=m make -C /lib/modules/$(uname -r)/build/ M=$(pwd)
```
+
The latter is executed internally with the make file.
### Building with XDS SDK
+
To build both AVIRT and the dummy Audio Path out-of-tree for [AGL](http://docs.automotivelinux.org/) (`aarch64` currently supported), use the [XDS](http://docs.automotivelinux.org/docs/devguides/en/dev/reference/xds/part-1/0_Abstract.html) build system together with the `make_agl.sh` script:
```sh
@@ -51,6 +56,7 @@ $ make menuconfig
```
Finally build the kernel with the configuration selected by making.
+
```
$ make
-``` \ No newline at end of file
+```