diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-14 17:53:24 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-14 17:53:24 +0000 |
commit | 2ef4cc7981cb883797563bf124aa3d388183d57f (patch) | |
tree | b32e444a573ac0cb61e9cf05d01342a319155c91 /morphlib/builder.py | |
parent | 4afa01f6711ec07f8f4030d457aff93db73d1f1a (diff) | |
download | morph-2ef4cc7981cb883797563bf124aa3d388183d57f.tar.gz |
Add $TOOLCHAIN_TARGET environment variable
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r-- | morphlib/builder.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py index 6f785b49..b6d65210 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -148,6 +148,8 @@ class Chunk(BinaryBlob): self.ex.env['WORKAREA'] = self.tempdir.dirname self.ex.env['DESTDIR'] = self.destdir + '/' + self.ex.env['TOOLCHAIN_TARGET'] = \ + '%s-baserock-linux-gnu' % os.uname()[4] if self.morph.max_jobs: max_jobs = int(self.morph.max_jobs) |