diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-05-07 14:52:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-07 14:59:43 +0100 |
commit | 1f151174042b78d7ba4fa90e68e9ff0c13979fc9 (patch) | |
tree | 9ee3de261b3dd80c5eaf7537327e64e8b97a6370 /scripts | |
parent | b7cff751fd6fbfec5d7999978475841f057041af (diff) | |
download | poky-1f151174042b78d7ba4fa90e68e9ff0c13979fc9.tar.gz |
devtool: fix for rename of gcc-source
After OE-Core commit 67db7182faf6742b0d971d61d8c5ba34f69d2e12, PV is
appended to the end of the gcc-source PN, thus we need to handle that in
devtool and the corresponding test.
Part of the fix for [YOCTO #7729].
(From OE-Core rev: 440029dc229a566b9bead1481215d5e5760c5fe6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index cb4b57be92..81a44d4513 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -124,7 +124,7 @@ def _check_compatible_recipe(pn, d): | |||
124 | logger.error("The perf recipe does not actually check out source and thus cannot be supported by this tool") | 124 | logger.error("The perf recipe does not actually check out source and thus cannot be supported by this tool") |
125 | return False | 125 | return False |
126 | 126 | ||
127 | if pn in ['gcc-source', 'kernel-devsrc', 'package-index']: | 127 | if pn in ['kernel-devsrc', 'package-index'] or pn.startswith('gcc-source'): |
128 | logger.error("The %s recipe is not supported by this tool" % pn) | 128 | logger.error("The %s recipe is not supported by this tool" % pn) |
129 | return False | 129 | return False |
130 | 130 | ||