# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.29 2004/03/30 19:45:14 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.30 2004/03/31 15:18:43 zhen Exp $
+
+ 31 Mar 2004; John Davis <zhen@gentoo.org> arch/sparc.py, modules/targets.py:
+ sparc compatibility patches from gustavoz@gentoo.org added. These patches add
+ support for sparc32/64 build compatibility
30 Mar 2004; John Davis <zhen@gentoo.org>
livecd/runscript/default-runscript.sh, modules/targets.py,
def __init__(self,myspec):
builder.generic.__init__(self,myspec)
self.settings["mainarch"]="sparc"
- self.settings["CHROOT"]="chroot"
+ if self.settings["hostarch"]=="sparc64":
+ if not os.path.exists("/usr/bin/sparc32"):
+ raise CatalystError,"required /usr/bin/sparc32 executable not found (\"emerge sparc-utils\" to fix.)"
+ self.settings["CHROOT"]="/usr/bin/sparc32 chroot"
+ else:
+ self.settings["CHROOT"]="chroot"
class arch_sparc(generic_sparc):
"builder class for generic sparc (sun4cdm)"
# Distributed under the GNU General Public License version 2
# Copyright 2003-2004 Gentoo Technologies, Inc.
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.96 2004/03/30 19:45:14 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.97 2004/03/31 15:18:43 zhen Exp $
import os,string,imp,types,shutil
from catalyst_support import *
targetmap={ "x86" : ["x86"],
"amd64" : ["x86","amd64"],
- "sparc64" : ["sparc64"],
+ "sparc64" : ["sparc","sparc64"],
"ia64" : ["ia64"],
"alpha" : ["alpha"],
"sparc" : ["sparc"],