summaryrefslogtreecommitdiffstats
path: root/docs/getting-started/customize_bitbake_conf.md
blob: fa466ca1f2f08032e3b2494fb3ae812a0fe64452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Customize AGL build

To customize the AGL build, you edit local.conf file, located in the build/conf directory.

```bash
edit $AGL_TOP/build/conf/local.conf
```

## Buildhistory

The OpenEmbedded build system creates this directory when you enable the build history feature.

```bash
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
```

For more information please check [Here][buildhistory]

## Deletion of temporary workspace

Removes work files after the OpenEmbedded build system has finished with them.

```bash
INHERIT += "rm_work"
```

For more information please check [Here][rm_work]

## Share sstate cache

The directory for the shared state cache.

```bash
SSTATE_DIR = "${HOME}/workspace_agl/sstate-cache"
```

For more information please check [Here][share_sstatecache]

## Share Download directory

The central download directory used by the build process to store downloads.

```bash
DL_DIR = "${HOME}/workspace_agl/downloads"
```

For more information please check [Here][share_download]

[buildhistory]: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#maintaining-build-output-quality
[rm_work]: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-tasks-rm_work
[share_sstatecache]: https://wiki.yoctoproject.org/wiki/Enable_sstate_cache
[share_download]: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-DL_DIR