From 3e0d53269f75cf7fb5487bd7b0f4d187f36fcfc1 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 24 Feb 2014 16:13:56 -0600 Subject: ref-manual: Updates to "Maintaining Build Output Quality" I modified a few areas to help integrate some newly documented BUILDHISTORY_* variables. Mostly some rewriting to feature some variables that help the user select build history features. (From yocto-docs rev: 8cb6a09ba7f0bd645a12e6f7a93247a9f0e77980) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/usingpoky.xml | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) (limited to 'documentation') 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: -- cgit v1.2.3-54-g00ecf