From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Klingler Date: 25 Oct 2004 18:02:29 +0300 Subject: [U-Boot-Users] PPC as host In-Reply-To: <065ACD8E84315E4394C835E398C8D5EB90F44D@COSSMGMBX02.email.corp.tld> References: <065ACD8E84315E4394C835E398C8D5EB90F44D@COSSMGMBX02.email.corp.tld> Message-ID: <1098716549.1186.7.camel@imac> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Evening (o; Apparently no one uses Linux PPC as host? So no one ever had problems cross-compiling u-boot for another target then (o; In the top Makefile we have: ifndef CROSS_COMPILE ifeq ($(HOSTARCH),ppc) CROSS_COMPILE = else .... which always picks up the host ppc compiler regardless what ARCH you have defined for your board... Since I don't use PPC as target someone might come up with a better idea then: ifeq ($(HOSTARCH,$(ARCH)) CROSS_COMPILE = else ... In my case it is YDL-3.0.1 PPC Linux running on G4. This doesn't happen on OSX since it is solved in the top config.mk file. best regards rick