Add a mechanism to avoid running more invasive checks every time bitbake is invoked. Adds a file in conf/ (i.e. under user's build directory) that tracks a new variable SANITY_VERSION (set in sanity.conf) as well as TMPDIR and SSTATE_DIR, allowing checks to be run when these are changed. Fixes [BUGID #562] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
17 lines
332 B
Text
17 lines
332 B
Text
# Sanity checks for common user misconfigurations
|
|
#
|
|
# See sanity.bbclass
|
|
#
|
|
# Expert users can confirm their sanity with "touch conf/sanity.conf"
|
|
BB_MIN_VERSION = "1.8.10"
|
|
|
|
SANITY_ABIFILE = "${TMPDIR}/abi_version"
|
|
|
|
SANITY_VERSION = "1"
|
|
POKY_CONF_VERSION = "1"
|
|
LAYER_CONF_VERSION = "3"
|
|
SITE_CONF_VERSION = "1"
|
|
|
|
INHERIT += "sanity"
|
|
|