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

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

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

```
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.

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

For more information please check [Here][rm_work]


[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

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

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

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

```
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.

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

For more information please check [Here][rm_work]

## Share sstate cache
The directory for the shared state cache.

```
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.

```
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

Add new entry to customize bitbake conf document
Add new entry to customize bitbake conf document

 * SSTATE_DIR
 * DL_DIR

Signed-off-by: Ronan Le Martret <18c24d1e59fd6c0a745b9d66ccd59271e1af72fe@iot.bzh>
