public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Simon Poole <simon.armlinux@themalago.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Makefile problems
Date: Tue, 17 May 2005 15:56:17 +0100	[thread overview]
Message-ID: <428A0611.6000709@themalago.net> (raw)
In-Reply-To: <20050517071724.6075BC1512@atlas.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

      reply	other threads:[~2005-05-17 14:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 23:48 [U-Boot-Users] Makefile problems Detlef Vollmann
2005-05-16 12:33 ` Simon Poole
2005-05-16 18:09   ` Detlef Vollmann
2005-05-16 23:04     ` Wolfgang Denk
2005-05-17  5:12       ` Detlef Vollmann
2005-05-17  7:17         ` Wolfgang Denk
2005-05-17 14:56           ` Simon Poole [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=428A0611.6000709@themalago.net \
    --to=simon.armlinux@themalago.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox