diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r-- | bitbake/lib/bb/command.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 06e886973b..1799f1cc3c 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -242,21 +242,11 @@ class CommandsAsync: | |||
242 | included in the package list. | 242 | included in the package list. |
243 | If pkg_list provided use that list (plus any extras brought in by | 243 | If pkg_list provided use that list (plus any extras brought in by |
244 | klass) rather than generating a tree for all packages. | 244 | klass) rather than generating a tree for all packages. |
245 | |||
246 | Add a new option "resolve" to indicate if we need to resolve the | ||
247 | replacement for "virtual/xxx" like pn. | ||
248 | """ | 245 | """ |
249 | klass = params[0] | 246 | klass = params[0] |
250 | resolve = False | 247 | pkg_list = params[1] |
251 | if len(params) > 2: | ||
252 | pkg_list = params[1] | ||
253 | resolve = params[2] | ||
254 | elif len(params) > 1: | ||
255 | pkg_list = params[1] | ||
256 | else: | ||
257 | pkg_list = [] | ||
258 | 248 | ||
259 | command.cooker.generateTargetsTree(klass, pkg_list, resolve) | 249 | command.cooker.generateTargetsTree(klass, pkg_list) |
260 | command.finishAsyncCommand() | 250 | command.finishAsyncCommand() |
261 | generateTargetsTree.needcache = True | 251 | generateTargetsTree.needcache = True |
262 | 252 | ||