* [PATCH 1/4] lib/oe/classextend: Fix nativesdk double name mapping
@ 2015-07-28 13:22 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-07-28 13:22 UTC (permalink / raw)
To: openembedded-core
Handle the case a name has already been extended in the nativesdk case
(avoids double name extensions which can happen with nativesdk-gcc).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index 8da87b7..5107ecd 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -110,6 +110,8 @@ class ClassExtender(object):
class NativesdkClassExtender(ClassExtender):
def map_depends(self, dep):
+ if dep.startswith(self.extname):
+ return dep
if dep.endswith(("-gcc-initial", "-gcc", "-g++")):
return dep + "-crosssdk"
elif dep.endswith(("-native", "-native-runtime")) or ('nativesdk-' in dep) or ('-cross-' in dep) or ('-crosssdk-' in dep):
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-28 13:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28 13:22 [PATCH 1/4] lib/oe/classextend: Fix nativesdk double name mapping Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox