diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/cookerdata.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py index 91cc4347f6..c39b568130 100644 --- a/bitbake/lib/bb/cookerdata.py +++ b/bitbake/lib/bb/cookerdata.py | |||
@@ -23,8 +23,8 @@ logger = logging.getLogger("BitBake") | |||
23 | parselog = logging.getLogger("BitBake.Parsing") | 23 | parselog = logging.getLogger("BitBake.Parsing") |
24 | 24 | ||
25 | class ConfigParameters(object): | 25 | class ConfigParameters(object): |
26 | def __init__(self, argv=sys.argv): | 26 | def __init__(self, argv=None): |
27 | self.options, targets = self.parseCommandLine(argv) | 27 | self.options, targets = self.parseCommandLine(argv or sys.argv) |
28 | self.environment = self.parseEnvironment() | 28 | self.environment = self.parseEnvironment() |
29 | 29 | ||
30 | self.options.pkgs_to_build = targets or [] | 30 | self.options.pkgs_to_build = targets or [] |
@@ -209,7 +209,7 @@ def findConfigFile(configfile, data): | |||
209 | return None | 209 | return None |
210 | 210 | ||
211 | # | 211 | # |
212 | # We search for a conf/bblayers.conf under an entry in BBPATH or in cwd working | 212 | # We search for a conf/bblayers.conf under an entry in BBPATH or in cwd working |
213 | # up to /. If that fails, we search for a conf/bitbake.conf in BBPATH. | 213 | # up to /. If that fails, we search for a conf/bitbake.conf in BBPATH. |
214 | # | 214 | # |
215 | 215 | ||