summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-02-29 22:15:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-01 15:51:34 +0000
commit612173b48fb40f0ae8c5a73ea13749a2670c7cd4 (patch)
treee2ddda0371e488fa058d1f657b540c4c9bc57982 /bitbake/lib/bb/command.py
parent222ec1c803d54ef68600322a355d1564d632c505 (diff)
downloadpoky-612173b48fb40f0ae8c5a73ea13749a2670c7cd4.tar.gz
command.py: remove the resolve parameter in generateTargetsTree
Remove the "resolve" parameter since the original resolve=False option is no longer be used. (Bitbake rev: dadce609149cfb09ecdc53bfe1f416a3f57a5033) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py14
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