diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-08 15:49:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-02 10:24:37 +0100 |
commit | 6856fc5c848cc2564bebe03a007ef109f46d0adb (patch) | |
tree | 8f9f0ba6f4fa6e554c5383327fb6a8cb6e32dd69 /meta/lib/oe/classextend.py | |
parent | 8f9d6c5b0238641313387c139442566752a1d25d (diff) | |
download | openembedded-core-6856fc5c848cc2564bebe03a007ef109f46d0adb.tar.gz |
binutils: Drop crosssdk suffix from virtual provides to improve dependency handling
There is little point in having "crosssdk" suffex added to the virtual provider within
binutils since the TARGET_PREFIX or SDK_PREFIX already encapsulates this. Remove it
allowing some of the special case overriding to be removed.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/classextend.py')
-rw-r--r-- | meta/lib/oe/classextend.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py index 2013b29711..8d7e428d8a 100644 --- a/meta/lib/oe/classextend.py +++ b/meta/lib/oe/classextend.py @@ -32,6 +32,8 @@ class ClassExtender(object): if name.endswith("-" + self.extname): name = name.replace("-" + self.extname, "") if name.startswith("virtual/"): + if "binutils" in name: + return name subs = name.split("/", 1)[1] if not subs.startswith(self.extname): return "virtual/" + self.extname + "-" + subs |