diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-24 17:11:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-25 14:30:56 +0000 |
commit | 0bf6f8035cfe14dbc2b357bdc3e98d6e081561a1 (patch) | |
tree | bae45bb054cf5e9040e87ea868bd44c785012ebd /meta/lib/oe/sstatesig.py | |
parent | 7c8899662be5623bedaa9a848fafebeafb348cf0 (diff) | |
download | poky-0bf6f8035cfe14dbc2b357bdc3e98d6e081561a1.tar.gz |
lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures
Where we have machine specific recipes with well defined behaviour, it makes
no sense to rebuild recipes with these as dependencies whenever the machine
changes. This patch lists those well behaved recipes and excludes them from
the task signatures so we can change MACHINE without invalidating existing
PACKAGE_ARCH binaries.
(From OE-Core rev: 07e34778fc74126af1380bf249fd34a5e3df12c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/sstatesig.py')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 247f59261b..ee7cbad0d9 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -26,6 +26,10 @@ def sstate_rundepfilter(fn, recipename, task, dep, depname): | |||
26 | if isNative(depname) or isCross(depname) or isNativeSDK(depname): | 26 | if isNative(depname) or isCross(depname) or isNativeSDK(depname): |
27 | return False | 27 | return False |
28 | 28 | ||
29 | # Exclude well defined machine specific configurations which don't change ABI | ||
30 | if depname in ['sysvinit-inittab', 'shadow-securetty', 'opkg-config-base', 'netbase', 'formfactor', 'xserver-xf86-config', 'pointercal', 'base-files']: | ||
31 | return False | ||
32 | |||
29 | # Default to keep dependencies | 33 | # Default to keep dependencies |
30 | return True | 34 | return True |
31 | 35 | ||