diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-04-10 21:30:45 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-04-10 21:30:45 +0000 |
commit | 552d49da0b80aec7eb7b98200b44b6da8adc9dfa (patch) | |
tree | 5f8c9a87791327ee867602d62a31019448744b05 /arch | |
parent | Added setup_myemergeopts to setup_myfeatures and removed redundant calls to s... (diff) | |
download | catalyst-552d49da0b80aec7eb7b98200b44b6da8adc9dfa.tar.gz catalyst-552d49da0b80aec7eb7b98200b44b6da8adc9dfa.tar.bz2 catalyst-552d49da0b80aec7eb7b98200b44b6da8adc9dfa.zip |
Added s390x (64-bit) support via a patch from Mike Frysinger <vapier@gentoo.org> for bug #173002.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1226 d1e1f19c-881f-0410-ab34-b69fee027534
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/arch/s390.py b/arch/s390.py index 21198157..bf22f668 100644 --- a/arch/s390.py +++ b/arch/s390.py @@ -8,6 +8,12 @@ class generic_s390(builder.generic): builder.generic.__init__(self,myspec) self.settings["CHROOT"]="chroot" +class generic_s390x(builder.generic): + "abstract base class for all s390x builders" + def __init__(self,myspec): + builder.generic.__init__(self,myspec) + self.settings["CHROOT"]="chroot" + class arch_s390(generic_s390): "builder class for generic s390" def __init__(self,myspec): @@ -15,6 +21,13 @@ class arch_s390(generic_s390): self.settings["CFLAGS"]="-O2 -pipe" self.settings["CHOST"]="s390-ibm-linux-gnu" +class arch_s390x(generic_s390x): + "builder class for generic s390x" + def __init__(self,myspec): + generic_s390x.__init__(self,myspec) + self.settings["CFLAGS"]="-O2 -pipe" + self.settings["CHOST"]="s390x-ibm-linux-gnu" + def register(): "Inform main catalyst program of the contents of this plugin." - return ({"s390":arch_s390}, ("s390", )) + return ({"s390":arch_s390,"s390x":arch_s390x}, ("s390", "s390x")) |