[oe-commits] Martin Jansa : sstatesig: include native/cross/ nativesdk deps in target signatures
git at git.openembedded.org
git at git.openembedded.org
Sun Jan 19 17:14:09 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 336a7897e39b9e42dcfcba9e2520ea96b0c6a8d6
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=336a7897e39b9e42dcfcba9e2520ea96b0c6a8d6
Author: Martin Jansa <martin.jansa at gmail.com>
Date: Sat Jan 18 15:02:39 2014 +0100
sstatesig: include native/cross/nativesdk deps in target signatures
* I don't have any real evidence or good statistics for this, but when
comparing signature dumps from my big bitbake world builds I usually
see a lot of rebuilds caused by changes in .bbclasses and only very
rare would be the case where oe-core upgrade brings changes in -native
recipes and no change in .bbclasses used from target recipes
* changing the default to include them shouldn't cause significant
increase in rebuilds and sstate reuse a bit safer
* people working on toolchain (e.g. using gcc from AUTOREV) can easily
extend sstate_rundepfilter to ignore them again (it's easier than
removing existing filter), example how add own signature handler in
your layer is here:
https://github.com/openwebos/meta-webos/commit/9ac3a7c803e7793b3274e4998f167b6278db8042
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oe/sstatesig.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 3011f16..8b0e344 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -36,10 +36,6 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
if isPackageGroup(fn):
return False
- # Drop native/cross/nativesdk dependencies from target recipes
- if isNative(depname) or isCross(depname) or isNativeSDK(depname):
- return False
-
# Exclude well defined machine specific configurations which don't change ABI
if depname in siggen.abisaferecipes and not isImage(fn):
return False
More information about the Openembedded-commits
mailing list