Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
# Check we are using a valid lacal.conf
current_conf = data.getVar('CONF_VERSION', e.data, True)
- conf_version = data.getVar('POKY_CONF_VERSION', e.data, True)
+ conf_version = data.getVar('LOCALCONF_VERSION', e.data, True)
if current_conf != conf_version:
messages = messages + "Poky has noticed your version of local.conf was generated from an older version of local.conf.sample and there have been updates made to this file. Please compare the two files and merge any changes before continuing.\nMatching the version numbers will remove this message.\n\"meld conf/local.conf conf/local.conf.sample\" is a good way to visualise the changes.\n"
SANITY_ABIFILE = "${TMPDIR}/abi_version"
-SANITY_VERSION = "1"
-POKY_CONF_VERSION = "1"
-LAYER_CONF_VERSION = "4"
-SITE_CONF_VERSION = "1"
+SANITY_VERSION ?= "1"
+LOCALCONF_VERSION ?= "1"
+LAYER_CONF_VERSION ?= "4"
+SITE_CONF_VERSION ?= "1"
INHERIT += "sanity"