diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-07 20:49:19 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-05 23:57:31 +0900 |
commit | 0898c174933de8cdd7be2a0f84c2c7498555dcd3 (patch) | |
tree | f6c9c1aab761976b74b19aa7ce914c4c478fbfa6 | |
parent | c05eec40cc3471554f5cc2306ac7d62c76056520 (diff) | |
download | buildstream-0898c174933de8cdd7be2a0f84c2c7498555dcd3.tar.gz |
project.py: Removing arches
-rw-r--r-- | buildstream/project.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/buildstream/project.py b/buildstream/project.py index bcccb718a..66561041e 100644 --- a/buildstream/project.py +++ b/buildstream/project.py @@ -33,7 +33,6 @@ from collections import Mapping from . import utils from . import _site from . import _yaml -from . import _loader # For resolve_arch() from ._profile import Topics, profile_start, profile_end from . import LoadError, LoadErrorReason from ._options import OptionPool @@ -141,7 +140,6 @@ class Project(): 'environment', 'environment-nocache', 'split-rules', 'elements', 'plugins', 'aliases', 'name', - 'arches', 'host-arches', 'artifacts', 'options', ]) @@ -173,9 +171,6 @@ class Project(): # self._options.process_node(config) - # Resolve arches keyword, project may have arch conditionals - _loader.resolve_arch(config, self._context.host_arch, self._context.target_arch) - # # Now all YAML composition is done, from here on we just load # the values from our loaded configuration dictionary. @@ -236,11 +231,6 @@ class Project(): if option.variable: self._variables[option.variable] = option.get_value() - # This is to be removed with arches - self._variables['bst-host-arch'] = self._context.host_arch - self._variables['bst-target-arch'] = self._context.target_arch - self._variables['bst-arch'] = self._context.host_arch - # Load sandbox configuration self._environment = _yaml.node_get(config, Mapping, 'environment') self._env_nocache = _yaml.node_get(config, list, 'environment-nocache') |