public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Default to HOSTARCH if ARCH isn't specified
Date: Mon, 20 Apr 2009 15:49:18 -0500	[thread overview]
Message-ID: <49ECDFCE.4080700@freescale.com> (raw)
In-Reply-To: <20090420203600.5297A83420E8@gemini.denx.de>

Wolfgang Denk wrote:
> Dear Kumar Gala,
> 
> In message <1240247017-1069-1-git-send-email-galak@kernel.crashing.org> you wrote:
>> diff --git a/Makefile b/Makefile
>> index e91c051..c56d6db 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -137,6 +137,10 @@ ifeq ($(ARCH),powerpc)
>>  ARCH = ppc
>>  endif
>>  
>> +ifndef ARCH
>> +ARCH = $(HOSTARCH)
>> +endif
>> +
> 
> In current mainline U-Boot, such a patch is not needed (which is just a
> friendly version of saying it does not make sense :-), because ARCH
> gets loaded from include/config.mk after running "make <board>_config".

In which case, we should probably add "override" to the place where it 
is set, so as to avoid interference from any ARCH variable that might be 
set (we could then remove the powerpc->ppc bit).

-Scott

      reply	other threads:[~2009-04-20 20:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-20 17:03 [U-Boot] [PATCH] Default to HOSTARCH if ARCH isn't specified Kumar Gala
2009-04-20 18:56 ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-20 20:36 ` Wolfgang Denk
2009-04-20 20:49   ` Scott Wood [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=49ECDFCE.4080700@freescale.com \
    --to=scottwood@freescale.com \
    --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