# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.450 2005/12/11 20:34:41 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.451 2005/12/13 19:31:13 rocket Exp $
+
+ 13 Dec 2005; Eric Edgar <rocket@gentoo.org> modules/stage1_target.py,
+ modules/stage2_target.py:
+ Move allowable cflags/cxxflags/chost/ldflags changing to stage2 from stage1
+ where it is allowed
11 Dec 2005; Eric Edgar <rocket@gentoo.org>
modules/generic_stage_target.py, targets/support/bootloader-setup.sh:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/stage1_target.py,v 1.16 2005/12/04 17:09:57 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/stage1_target.py,v 1.17 2005/12/13 19:31:13 rocket Exp $
"""
Builder class for a stage1 installation tarball build.
generic_stage_target.set_cleanables(self)
self.settings["cleanables"].extend(["/usr/share/gettext","/usr/lib/python2.2/test", "/usr/lib/python2.2/encodings","/usr/lib/python2.2/email", "/usr/lib/python2.2/lib-tk","/usr/share/zoneinfo"])
- def override_chost(self):
- if os.environ.has_key("CHOST"):
- self.settings["CHOST"] = os.environ["CHOST"]
- if self.settings.has_key("chost"):
- self.settings["CHOST"]=list_to_string(self.settings["chost"])
-
- def override_cflags(self):
- if os.environ.has_key("CFLAGS"):
- self.settings["CFLAGS"] = os.environ["CFLAGS"]
- if self.settings.has_key("cflags"):
- self.settings["CFLAGS"]=list_to_string(self.settings["cflags"])
-
- def override_cxxflags(self):
- if os.environ.has_key("CXXFLAGS"):
- self.settings["CXXFLAGS"] = os.environ["CXXFLAGS"]
- if self.settings.has_key("cxxflags"):
- self.settings["CXXFLAGS"]=list_to_string(self.settings["cxxflags"])
-
- def override_ldflags(self):
- if os.environ.has_key("LDFLAGS"):
- self.settings["LDFLAGS"] = os.environ["LDFLAGS"]
- if self.settings.has_key("ldflags"):
- self.settings["LDFLAGS"]=list_to_string(self.settings["ldflags"])
-
def register(foo):
foo.update({"stage1":stage1_target})
return foo
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/stage2_target.py,v 1.7 2005/12/02 19:37:02 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/stage2_target.py,v 1.8 2005/12/13 19:31:13 rocket Exp $
"""
Builder class for a stage2 installation tarball build.
if os.path.isfile(self.settings["source_path"]):
if os.path.exists(self.settings["source_path"]):
self.settings["source_path_md5sum"]=calc_md5(self.settings["source_path"])
+ def override_chost(self):
+ if os.environ.has_key("CHOST"):
+ self.settings["CHOST"] = os.environ["CHOST"]
+ if self.settings.has_key("chost"):
+ self.settings["CHOST"]=list_to_string(self.settings["chost"])
+
+ def override_cflags(self):
+ if os.environ.has_key("CFLAGS"):
+ self.settings["CFLAGS"] = os.environ["CFLAGS"]
+ if self.settings.has_key("cflags"):
+ self.settings["CFLAGS"]=list_to_string(self.settings["cflags"])
+
+ def override_cxxflags(self):
+ if os.environ.has_key("CXXFLAGS"):
+ self.settings["CXXFLAGS"] = os.environ["CXXFLAGS"]
+ if self.settings.has_key("cxxflags"):
+ self.settings["CXXFLAGS"]=list_to_string(self.settings["cxxflags"])
+
+ def override_ldflags(self):
+ if os.environ.has_key("LDFLAGS"):
+ self.settings["LDFLAGS"] = os.environ["LDFLAGS"]
+ if self.settings.has_key("ldflags"):
+ self.settings["LDFLAGS"]=list_to_string(self.settings["ldflags"])
+
def register(foo):
foo.update({"stage2":stage2_target})