summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 73aaca0474..fd8912ab40 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -179,6 +179,13 @@ class CommandsSync:
179 """ 179 """
180 return bb.utils.cpu_count() 180 return bb.utils.cpu_count()
181 181
182 def setConfFilter(self, command, params):
183 """
184 Set the configuration file parsing filter
185 """
186 filterfunc = params[0]
187 bb.parse.parse_py.ConfHandler.confFilters.append(filterfunc)
188
182class CommandsAsync: 189class CommandsAsync:
183 """ 190 """
184 A class of asynchronous commands 191 A class of asynchronous commands