diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index c9fc58f7eb..f6bc06585d 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -941,6 +941,30 @@
+ BUILDHISTORY_DIR_PACKAGE
+
+
+ When inheriting the
+ buildhistory
+ class, specifies the name of the package analyzed using
+ the build history feature.
+ For more information on how the variable works, see the
+ buildhistory.class.
+ For more information on how build history works, see the
+ "Maintaining Build Output Quality"
+ section.
+
+
+
+ By default, the buildhistory class
+ sets the package name as follows:
+
+ BUILDHISTORY_DIR_PACKAGE = "${BUILDHISTORY_DIR}/packages/${MULTIMACH_TARGET_SYS}/${PN}"
+
+
+
+
+
BUILDHISTORY_FEATURES