diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml index eff8480e1a..1d75a9994e 100644 --- a/documentation/ref-manual/usingpoky.xml +++ b/documentation/ref-manual/usingpoky.xml @@ -445,7 +445,9 @@ - The buildhistory class exists to help you maintain + The + buildhistory + class exists to help you maintain the quality of your build output. You can use the class to highlight unexpected and possibly unwanted changes in the build output. @@ -506,8 +508,10 @@ To disable the build history functionality without causing the - packaging tasks to be re-run, add this statement to your - conf/local.conf file: + packaging tasks to be re-run, set the + BUILDHISTORY_FEATURES + variable as follows in your conf/local.conf + file: BUILDHISTORY_FEATURES = "" @@ -520,7 +524,9 @@ Build history information is kept in $TMPDIR/buildhistory - in the Build Directory. + in the Build Directory as defined by the + BUILDHISTORY_DIR + variable. The following is an example abbreviated listing: @@ -721,16 +727,19 @@ including dependency graphs, so you can see why something was pulled into the image. If you are just interested in this information and not - interested in collecting history or any package information, + interested in collecting specific package or SDK information, you can enable writing only image information without - any history by adding the following - to your conf/local.conf file found in the + any history by adding the following to your + conf/local.conf file found in the Build Directory: INHERIT += "buildhistory" BUILDHISTORY_COMMIT = "0" BUILDHISTORY_FEATURES = "image" + Here, you set the + BUILDHISTORY_FEATURES + variable to use the image feature only. @@ -741,6 +750,17 @@ of SDKs (e.g., meta-toolchain or bitbake -c populate_sdk imagename) as compared to information it collects for images. + If you want information on the SDK, you need to list that + feature using the + BUILDHISTORY_FEATURES + variable as follows in your conf/local.conf + file found in the + Build Directory: + + INHERIT += "buildhistory" + BUILDHISTORY_COMMIT = "0" + BUILDHISTORY_FEATURES = "sdk" + : The following list shows the files produced for each SDK: files-in-sdk.txt: