summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/classextend.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index c46332c785..19e1254637 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -40,7 +40,9 @@ class ClassExtender(object):
40 var = var.split() 40 var = var.split()
41 newvar = [] 41 newvar = []
42 for v in var: 42 for v in var:
43 if v.startswith("^"): 43 if v.startswith("^" + self.extname):
44 newvar.append(v)
45 elif v.startswith("^"):
44 newvar.append("^" + self.extname + "-" + v[1:]) 46 newvar.append("^" + self.extname + "-" + v[1:])
45 else: 47 else:
46 newvar.append(self.extend_name(v)) 48 newvar.append(self.extend_name(v))