# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 08 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> arch/amd64.py,
+ arch/x86.py, modules/generic_stage_target.py:
+ Fixing a minor display issue when we write out make.conf, adding HOSTUSE for
+ amd64 to add mmx, sse, and sse2 to USE, adding sse2 to pentium4's HOSTUSE.
+
07 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
targets/support/kmerge.sh:
Make the --kerncache option to genkernel dependent on 'kerncache' being in
generic_amd64.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -pipe"
self.settings["CHOST"]="x86_64-pc-linux-gnu"
+ self.settings["HOSTUSE"]=["mmx","sse","sse2"]
#class arch_nocona(generic_x86):
# def __init__(self,myspec):
def __init__(self,myspec):
arch_i686.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -march=pentium4 -pipe"
- self.settings["HOSTUSE"]=["mmx","sse"]
+ self.settings["HOSTUSE"]=["mmx","sse","sse2"]
class arch_prescott(generic_x86):
def __init__(self,myspec):
"athlon" : arch_athlon,
"athlon-xp" : arch_athlon_xp,
"athlon-mp" : arch_athlon_xp,
- "pentium-mmx" : arch_pentium_mmx,
+ "pentium-mmx" : arch_pentium_mmx,
"pentium2" : arch_pentium2,
"pentium3" : arch_pentium3,
"pentium4" : arch_pentium4,
"prescott" : arch_prescott
- },
- ('i386', 'i486', 'i586', 'i686'))
+ }, ('i386', 'i486', 'i586', 'i686'))
myf.write("# This should not be changed unless you know exactly what you are doing. You\n# should probably be using a different stage, instead.\n")
if self.settings.has_key("CBUILD"):
myf.write('CBUILD="'+self.settings["CBUILD"]+'"\n')
- myf.write('# WARNING: Changing your CHOST is not something that should be done lightly.\n# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing it.\nCHOST="'+self.settings["CHOST"]+'"\n')
+ myf.write('# WARNING: Changing your CHOST is not something that should be done lightly.\n# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.\nCHOST="'+self.settings["CHOST"]+'"\n')
# Figure out what our USE vars are for building
myusevars=[]