diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-02-25 11:45:30 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-03-13 15:20:02 +0000 |
commit | 92d98f57eaa6e0871b70d0d0ab1db879cf3ea47a (patch) | |
tree | e8d6629110f8c079c2d94b6f1e3fe8e239b9fd43 /morphlib/app.py | |
parent | ece7f823de6bd61a0676edf71a9525697848824e (diff) | |
download | morph-92d98f57eaa6e0871b70d0d0ab1db879cf3ea47a.tar.gz |
Set environment variables defining target for build-essential
In the future we will allow this to be modified to provide a
cross-bootstrap mode, but for now we use the same target as
the host compiler.
Diffstat (limited to 'morphlib/app.py')
-rwxr-xr-x | morphlib/app.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/morphlib/app.py b/morphlib/app.py index c8b9b911..d3136b43 100755 --- a/morphlib/app.py +++ b/morphlib/app.py @@ -42,7 +42,6 @@ defaults = { 'cachedir': os.path.expanduser('~/.cache/morph'), 'max-jobs': morphlib.util.make_concurrency(), 'prefix': '/usr', - 'toolchain-target': '%s-baserock-linux-gnu' % os.uname()[4], 'build-ref-prefix': 'baserock/builds' } @@ -137,23 +136,6 @@ class Morph(cliapp.Application): default=os.environ.get('TMPDIR'), group=group_build) - # Would be better to have a separate tool to cross-bootstrap - # because it's completely outside normal Morph usage - group_bootstrap = 'Bootstrap Options' - self.settings.string(['target-cflags'], - 'inject additional CFLAGS into the environment ' - 'that is used to build chunks', - metavar='CFLAGS', - default='', - group=group_bootstrap) - self.settings.string(['toolchain-target'], - 'set the TOOLCHAIN_TARGET variable which is used ' - 'in some chunks to determine which architecture ' - 'to build tools for', - metavar='TOOLCHAIN_TARGET', - default=defaults['toolchain-target'], - group=group_bootstrap) - # These cannot be removed just yet because existing morph.conf files # would fail to parse. group_obsolete = 'Obsolete Options' |