From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Poole Date: Tue, 17 May 2005 15:56:17 +0100 Subject: [U-Boot-Users] Makefile problems In-Reply-To: <20050517071724.6075BC1512@atlas.denx.de> References: <20050517071724.6075BC1512@atlas.denx.de> Message-ID: <428A0611.6000709@themalago.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: >>And as I wrote, my most preferred solution would be something >>like 'HOSTCC=gcc-3 make xyz_config'. To achieve this, a simple >>line like '[ $HOSTCC ] && echo "HOSTCC = $HOSTCC" >> config.mk' >>in mkconfig would probably suffice. But maybe there's another >>(better) way. > > > What makes it difficult for you to use > > make HOSTCC=gcc-3 xyz_config > instead of > HOSTCC=gcc-3 make xyz_config > ?? > > Best regards, > > Wolfgang Denk > or MAKEARGS= [ -n "$HOSTCC" ] && MAKEARGS="HOSTCC=$HOSTCC" make $MAKEARGS xyz_config -- Simon Poole www.appliancestudio.com