diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-23 19:51:56 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-23 19:51:56 +0100 |
| commit | 1379a98b4de36b0192390a9f988ab3dcc99dcef0 (patch) | |
| tree | 332a4aa554b778141d5bb69ac8e0a8f3e0de2a53 /bitbake-dev/lib/bb/cooker.py | |
| parent | 255f45be57b2209f81ee513ebc43ce7f808c2f2b (diff) | |
| download | poky-1379a98b4de36b0192390a9f988ab3dcc99dcef0.tar.gz | |
bitbake-dev: Remve the need for the cache for -e -b options
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/cooker.py')
| -rw-r--r-- | bitbake-dev/lib/bb/cooker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py index dceebb12d5..bec6c3535c 100644 --- a/bitbake-dev/lib/bb/cooker.py +++ b/bitbake-dev/lib/bb/cooker.py | |||
| @@ -141,10 +141,10 @@ class BBCooker: | |||
| 141 | bb.error("Only one target can be used with the --environment option.") | 141 | bb.error("Only one target can be used with the --environment option.") |
| 142 | elif self.configuration.buildfile and len(self.configuration.pkgs_to_build) > 0: | 142 | elif self.configuration.buildfile and len(self.configuration.pkgs_to_build) > 0: |
| 143 | bb.error("No target should be used with the --environment and --buildfile options.") | 143 | bb.error("No target should be used with the --environment and --buildfile options.") |
| 144 | elif self.configuration.buildfile is not None or len(self.configuration.pkgs_to_build) > 0: | 144 | elif len(self.configuration.pkgs_to_build) > 0: |
| 145 | self.commandlineAction = ["showEnvironmentPackage", self.configuration.buildfile, self.configuration.pkgs_to_build] | 145 | self.commandlineAction = ["showEnvironmentTarget", self.configuration.pkgs_to_build] |
| 146 | else: | 146 | else: |
| 147 | self.commandlineAction = ["showEnvironment"] | 147 | self.commandlineAction = ["showEnvironment", self.configuration.buildfile] |
| 148 | elif self.configuration.buildfile is not None: | 148 | elif self.configuration.buildfile is not None: |
| 149 | self.commandlineAction = ["buildFile", self.configuration.buildfile, self.configuration.cmd] | 149 | self.commandlineAction = ["buildFile", self.configuration.buildfile, self.configuration.cmd] |
| 150 | elif self.configuration.show_versions: | 150 | elif self.configuration.show_versions: |
