From: Daniel Robbins Date: Thu, 6 Nov 2003 01:00:54 +0000 (+0000) Subject: nice informational message for non-native building X-Git-Tag: CATALYST_1_0_1~195 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a60156ae988d3268dc6a77f5d391e9c7fda8b0e7;p=catalyst.git nice informational message for non-native building git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@45 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/modules/targets.py b/modules/targets.py index d401aa0c..d9a67e47 100644 --- a/modules/targets.py +++ b/modules/targets.py @@ -45,6 +45,13 @@ class generic_stage_target(generic_target): fh.close() #call arch constructor, pass our settings self.arch=self.subarchmap[self.settings["subarch"]](self.settings) + #self.settings["mainarch"] should now be set by our arch constructor, so we print + #a nice informational message: + if self.settings["mainarch"]==self.settings["hostarch"]: + print "Building natively for",self.settings["hostarch"] + else: + print "Building on",self.settings["hostarch"],"for alternate machine type",self.settings["mainarch"] + self.settings["target_profile"]=self.settings["rel_type"]+"-"+self.settings["mainarch"]+"-"+self.settings["rel_version"] self.settings["target_subpath"]=self.settings["target_profile"]+"/"+self.settings["target"]+"-"+self.settings["subarch"]+"-"+self.settings["version_stamp"] st=self.settings["storedir"]