diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 2f37938cee..a902da2ce8 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -251,6 +251,18 @@ class CommandsAsync: | |||
| 251 | command.finishAsyncCommand() | 251 | command.finishAsyncCommand() |
| 252 | findConfigFiles.needcache = True | 252 | findConfigFiles.needcache = True |
| 253 | 253 | ||
| 254 | def findFilesMatchingInDir(self, command, params): | ||
| 255 | """ | ||
| 256 | Find implementation files matching the specified pattern | ||
| 257 | in the requested subdirectory of a BBPATH | ||
| 258 | """ | ||
| 259 | pattern = params[0] | ||
| 260 | directory = params[1] | ||
| 261 | |||
| 262 | command.cooker.findFilesMatchingInDir(pattern, directory) | ||
| 263 | command.finishAsyncCommand() | ||
| 264 | findFilesMatchingInDir.needcache = True | ||
| 265 | |||
| 254 | def findConfigFilePath(self, command, params): | 266 | def findConfigFilePath(self, command, params): |
| 255 | """ | 267 | """ |
| 256 | Find the path of the requested configuration file | 268 | Find the path of the requested configuration file |
