Changed to use linux32 for ppc32 support when build host is ppc64.
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 6 Jul 2005 22:07:46 +0000 (22:07 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 6 Jul 2005 22:07:46 +0000 (22:07 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@758 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
arch/ppc.py

index 3a43242aa74fc7e8056266abcad7aac3ba5bfd72..630f098e860f5e60843d3ea218a58f4c652fd72c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.295 2005/07/06 20:33:46 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.296 2005/07/06 22:07:46 wolf31o2 Exp $
+
+  06 Jul 2005; Chris Gianelloni <wolf31o2@gentoo.org> arch/ppc.py:
+  Changed to use linux32 for ppc32 support when build host is ppc64.
 
   06 Jul 2005; Chris Gianelloni <wolf31o2@gentoo.org> arch/mips.py,
   arch/x86.py:
index b41bb5d92f2e6523947751cbc544a9395230116d..583a05e6d615ad8bacd37fab535c9ec955feadc8 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/arch/ppc.py,v 1.13 2005/07/05 21:53:41 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/arch/ppc.py,v 1.14 2005/07/06 22:07:46 wolf31o2 Exp $
 
 import os,builder
 from catalyst_support import *
@@ -17,9 +17,9 @@ class generic_ppc(builder.generic):
                self.settings["mainarch"]="ppc"
                self.settings["CHOST"]="powerpc-unknown-linux-gnu"
                if self.settings["hostarch"]=="ppc64":
-                       if not os.path.exists("/usr/bin/powerpc32"):
-                               raise CatalystError,"required /usr/bin/setarch executable not found."
-                       self.settings["CHROOT"]="/usr/bin/powerpc32 chroot"
+                       if not os.path.exists("/usr/bin/linux32"):
+                               raise CatalystError,"required /usr/bin/linux32 executable not found."
+                       self.settings["CHROOT"]="/usr/bin/linux32 chroot"
                else:   
                        self.settings["CHROOT"]="chroot"