summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/ast.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-25 22:23:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commit2abf8a699edd513405befbd1a0eafc8f55d6b514 (patch)
tree9815707d7cc45e6de4fda8be6ed0e58b0a92ed84 /bitbake/lib/bb/parse/ast.py
parentf735627e7c5aeb421338db55f3905d74751d4b71 (diff)
downloadpoky-2abf8a699edd513405befbd1a0eafc8f55d6b514.tar.gz
bitbake: bitbake: Switch to using new override syntax
This change updates the datastore to use the new override syntax using colons instead of underscores exclusively. It is expected layers would have to be converted to work with bitbake after this change. Supporting mixed syntax isn't possible, it is only feasible to have one internal representation of overrides. Whilst we can't warn for every possible override that may be set in the old format, show errors for _append/_prepend/_remove since those should never be present. (Bitbake rev: 7dcf317cc141dc980634f8c18bfa84f83e57206a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse/ast.py')
-rw-r--r--bitbake/lib/bb/parse/ast.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 977ba375bf..743ea0dfc0 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -97,7 +97,6 @@ class DataNode(AstNode):
97 def eval(self, data): 97 def eval(self, data):
98 groupd = self.groupd 98 groupd = self.groupd
99 key = groupd["var"] 99 key = groupd["var"]
100 key = key.replace(":", "_")
101 loginfo = { 100 loginfo = {
102 'variable': key, 101 'variable': key,
103 'file': self.filename, 102 'file': self.filename,
@@ -208,7 +207,6 @@ class ExportFuncsNode(AstNode):
208 def eval(self, data): 207 def eval(self, data):
209 208
210 for func in self.n: 209 for func in self.n:
211 func = func.replace(":", "_")
212 calledfunc = self.classname + "_" + func 210 calledfunc = self.classname + "_" + func
213 211
214 if data.getVar(func, False) and not data.getVarFlag(func, 'export_func', False): 212 if data.getVar(func, False) and not data.getVarFlag(func, 'export_func', False):