commit:     7e392bb6998dfb726f72b3c7bddcedbce685261c
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue May  5 05:20:15 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May  5 05:20:15 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=7e392bb6

catalyst: Remove never-used "crosscompile"

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 catalyst/base/stagebase.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 80cc16f2..951500d8 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -111,15 +111,9 @@ class StageBase(TargetBase, ClearBase, GenBase):
             chroot = 'chroot'
         self.settings["CHROOT"] = chroot
 
-        self.settings["crosscompile"] = \
-            build != host and not chroot.startswith('setarch')
-
         log.notice('Using target: %s', self.settings['target'])
         # Print a nice informational message
-        if self.settings["crosscompile"]:
-            log.info('Cross-compiling on %s for different machine type %s',
-                     build, host)
-        elif chroot.startswith('setarch'):
+        if chroot.startswith('setarch'):
             log.info('Building on %s for alternate personality type %s',
                      build, host)
         else:

Reply via email to