From: Wolfgang Denk Date: Sun, 30 Jan 2005 10:18:55 +0100 Subject: [U-Boot-Users] MIPS build environment In-Reply-To: Your message of "Sat, 29 Jan 2005 20:40:55 PST." Message-ID: <20050130091900.AFD2DC108D@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Deear Dan, in message you wrote: > ifndef CROSS_COMPILE > > ifeq ($(ARCH),mips) > > CROSS_COMPILE = mips_4KC- > > endif endif > Any objections to setting CROSS_COMPILE in include/config.mk > and allow setting it within the 'mkconfig' part of the Makefile? Yes. Please don't do this, as it is not necessary. The "mips_4KC-" setting above is just the default which is used when the user does not supply a CROSS_COMPILE setting either in his environment or in the make command line. This should be sufficient. > I still don't know what to do with the rest of the config.mk, as it > sets R4Kc specific flags based upon the binutils version. This is because we needed a way to find out if "allow_branch_to_undefined" is available; maybe you know a better approach. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A committee is a group that keeps the minutes and loses hours. -- Milton Berle