aboutsummaryrefslogtreecommitdiffstats
path: root/docs/2.Building.md
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-08 16:47:25 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:46 +1100
commit3b62055c816764ff02aeb3a548e9bba36df8aae4 (patch)
tree172a0cf6fab98068182730479389546501ceff1b /docs/2.Building.md
parent07505fddec4f96f187ec79a55f4363a68f083a03 (diff)
Update documentation
Add 'map' to configfs test, remove old mentions of module parameters Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
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
+```