summaryrefslogtreecommitdiffstats
path: root/docs/getting-started/customize_bitbake_conf.md
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2018-10-16 13:10:46 +0200
committerStephane Desneux <stephane.desneux@iot.bzh>2018-10-16 13:13:14 +0200
commit0eba225fb27ec0b87bfa80361314fec5ab901caa (patch)
tree02baf13e25b4d8989dc25051ff7ce3256ffb7bbd /docs/getting-started/customize_bitbake_conf.md
parent536b42be464af2f29fc5061489821c8903a6690a (diff)
Import from docs-agl/docs
Change-Id: Id524561d87410e5463cddd123b30eb63d75b62bd Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'docs/getting-started/customize_bitbake_conf.md')
-rw-r--r--docs/getting-started/customize_bitbake_conf.md53
1 files changed, 53 insertions, 0 deletions
diff --git a/docs/getting-started/customize_bitbake_conf.md b/docs/getting-started/customize_bitbake_conf.md
new file mode 100644
index 0000000..fa466ca
--- /dev/null
+++ b/docs/getting-started/customize_bitbake_conf.md
@@ -0,0 +1,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