From 1f151174042b78d7ba4fa90e68e9ff0c13979fc9 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 7 May 2015 14:52:24 +0100 Subject: 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 Signed-off-by: Richard Purdie --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/devtool/standard.py') 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): logger.error("The perf recipe does not actually check out source and thus cannot be supported by this tool") return False - if pn in ['gcc-source', 'kernel-devsrc', 'package-index']: + if pn in ['kernel-devsrc', 'package-index'] or pn.startswith('gcc-source'): logger.error("The %s recipe is not supported by this tool" % pn) return False -- cgit v1.2.3-54-g00ecf