[OE-core] [PATCH] bitbake: clean up stamp-base related codes
ChenQi
Qi.Chen at windriver.com
Wed Jan 6 08:34:58 UTC 2016
Please ignore this one.
I've separated this patch into two and send them to the correct list.
// Qi
On 01/06/2016 04:20 PM, Chen Qi wrote:
> The 'stamp-base' related codes are no longer useful, clean them up.
>
> [YOCTO #8468]
>
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
> bitbake/lib/bb/build.py | 4 ++--
> bitbake/lib/bb/cache.py | 3 ---
> meta/conf/bitbake.conf | 2 +-
> 3 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
> index 22428a6..b84338b 100644
> --- a/bitbake/lib/bb/build.py
> +++ b/bitbake/lib/bb/build.py
> @@ -582,10 +582,10 @@ def stamp_internal(taskname, d, file_name, baseonly=False):
> taskflagname = taskname.replace("_setscene", "")
>
> if file_name:
> - stamp = d.stamp_base[file_name].get(taskflagname) or d.stamp[file_name]
> + stamp = d.stamp[file_name]
> extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or ""
> else:
> - stamp = d.getVarFlag(taskflagname, 'stamp-base', True) or d.getVar('STAMP', True)
> + stamp = d.getVar('STAMP', True)
> file_name = d.getVar('BB_FILENAME', True)
> extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or ""
>
> diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
> index 521f758..0ec4057 100644
> --- a/bitbake/lib/bb/cache.py
> +++ b/bitbake/lib/bb/cache.py
> @@ -129,7 +129,6 @@ class CoreRecipeInfo(RecipeInfoCommon):
> self.not_world = self.getvar('EXCLUDE_FROM_WORLD', metadata)
> self.stamp = self.getvar('STAMP', metadata)
> self.stampclean = self.getvar('STAMPCLEAN', metadata)
> - self.stamp_base = self.flaglist('stamp-base', self.tasks, metadata)
> self.stamp_base_clean = self.flaglist('stamp-base-clean', self.tasks, metadata)
> self.stamp_extrainfo = self.flaglist('stamp-extra-info', self.tasks, metadata)
> self.file_checksums = self.flaglist('file-checksums', self.tasks, metadata, True)
> @@ -158,7 +157,6 @@ class CoreRecipeInfo(RecipeInfoCommon):
>
> cachedata.stamp = {}
> cachedata.stampclean = {}
> - cachedata.stamp_base = {}
> cachedata.stamp_base_clean = {}
> cachedata.stamp_extrainfo = {}
> cachedata.file_checksums = {}
> @@ -192,7 +190,6 @@ class CoreRecipeInfo(RecipeInfoCommon):
> cachedata.pkg_dp[fn] = self.defaultpref
> cachedata.stamp[fn] = self.stamp
> cachedata.stampclean[fn] = self.stampclean
> - cachedata.stamp_base[fn] = self.stamp_base
> cachedata.stamp_base_clean[fn] = self.stamp_base_clean
> cachedata.stamp_extrainfo[fn] = self.stamp_extrainfo
> cachedata.file_checksums[fn] = self.file_checksums
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 371af31..51885af 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -801,7 +801,7 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
> lockfiles type vardepsexclude vardeps vardepvalue vardepvalueexclude \
> file-checksums python func task export unexport noexec nostamp dirs cleandirs \
> sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \
> - recrdeptask nodeprrecs stamp-base stamp-extra-info sstate-outputdirs filename lineno"
> + recrdeptask nodeprrecs stamp-extra-info sstate-outputdirs filename lineno"
>
> MLPREFIX ??= ""
> MULTILIB_VARIANTS ??= ""
More information about the Openembedded-core
mailing list