# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.194 2005/03/24 14:17:29 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.195 2005/03/24 15:37:54 wolf31o2 Exp $
+
+ 24 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org> arch/arm.py, catalyst,
+ modules/generic_stage_target.py:
+ Applying arm patch from vapier and closing bug #86466. This is now catalyst
+ 1.1.8, so enjoy.
24 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org> +livecd/files/mkvardb,
livecd/runscript/default-runscript.sh,
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/arch/arm.py,v 1.3 2004/10/15 02:36:00 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/arch/arm.py,v 1.4 2005/03/24 15:37:55 wolf31o2 Exp $
import builder,os
from catalyst_support import *
class generic_arm(builder.generic):
- "Abstract base class for all arm builders"
+ "Abstract base class for all arm (little endian) builders"
+ def __init__(self,myspec):
+ builder.generic.__init__(self,myspec)
+ self.settings["mainarch"]="arm"
+ self.settings["CHROOT"]="chroot"
+ self.settings["CFLAGS"]="-O2 -pipe"
+ self.settings["CXXFLAGS"]="-O1 -pipe"
+
+class generic_armeb(builder.generic):
+ "Abstract base class for all arm (big endian) builders"
def __init__(self,myspec):
builder.generic.__init__(self,myspec)
self.settings["mainarch"]="arm"
self.settings["CXXFLAGS"]="-O1 -pipe"
class arch_arm(generic_arm):
- "Builder class for arm target"
+ "Builder class for arm (little endian) target"
def __init__(self,myspec):
generic_arm.__init__(self,myspec)
self.settings["CHOST"]="arm-unknown-linux-gnu"
+class arch_armeb(generic_armeb):
+ "Builder class for arm (big endian) target"
+ def __init__(self,myspec):
+ generic_armeb.__init__(self,myspec)
+ self.settings["CHOST"]="armeb-unknown-linux-gnu"
+
class arch_armv4l(generic_arm):
"Builder class for armv4l (StrongArm-110) target"
def __init__(self,myspec):
self.settings["CFLAGS"]+=" -mcpu=strongarm110"
self.settings["CHOST"]="armv4l-unknown-linux-gnu"
+class arch_armv5b(generic_arm):
+ "Builder class for armv5b (XScale) target"
+ def __init__(self,myspec):
+ generic_arm.__init__(self,myspec)
+ self.settings["CFLAGS"]+=" -mcpu=xscale"
+ self.settings["CHOST"]="armv5b-unknown-linux-gnu"
+
def register(foo):
"Inform main catalyst program of the contents of this plugin."
foo.update({
"arm" : arch_arm,
- "armv4l" : arch_armv4l
+ "armv4l" : arch_armv4l,
+ "armeb" : arch_armeb,
+ "armv5b" : arch_armv5b
})
#!/usr/bin/python
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.67 2005/03/16 13:51:23 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.68 2005/03/24 15:37:54 wolf31o2 Exp $
# Maintained in full by John Davis <zhen@gentoo.org>
import os,sys,imp,string,getopt
__maintainer__="Chris Gianelloni <wolf31o2@gentoo.org>"
-__version__="1.1.8_pre1"
+__version__="1.1.8"
conf_values={}
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.23 2005/01/10 01:05:59 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.24 2005/03/24 15:37:55 wolf31o2 Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
# map the mainarch we are running under to the mainarches we support for
# building stages and LiveCDs. (for example, on amd64, we can build stages for
# x86 or amd64.
- targetmap={ "x86" : ["x86"],
+ targetmap={
+ "x86" : ["x86"],
"amd64" : ["x86","amd64"],
"sparc64" : ["sparc","sparc64"],
"ia64" : ["ia64"],
"alpha" : ["alpha"],
"sparc" : ["sparc"],
- "s390" : ["s390"],
+ "s390" : ["s390"],
"ppc" : ["ppc"],
"ppc64" : ["ppc","ppc64"],
"hppa" : ["hppa"],
"arm" : ["arm"]
}
- machinemap={ "i386" : "x86",
+ machinemap={
+ "i386" : "x86",
"i486" : "x86",
"i586" : "x86",
"i686" : "x86",
"ia64" : "ia64",
"alpha" : "alpha",
"sparc" : "sparc",
- "s390" : "s390",
+ "s390" : "s390",
"ppc" : "ppc",
"ppc64" : "ppc64",
"parisc" : "hppa",
"mips" : "mips",
"mips64" : "mips",
"arm" : "arm",
- "armv4l" : "arm"
+ "armv4l" : "arm",
+ "armeb" : "arm",
+ "armv5b" : "arm"
}
-
+
mymachine=os.uname()[4]
if not machinemap.has_key(mymachine):
raise CatalystError, "Unknown machine type "+mymachine