public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] tools/env: use host build flags
Date: Tue, 09 Nov 2010 10:19:59 +0100	[thread overview]
Message-ID: <4CD9123F.3070005@schmid-telecom.ch> (raw)
In-Reply-To: <AANLkTikNkRbV0jPXNc3AaLSvF3aMKfHme-9CNnsoqXE6@mail.gmail.com>

Hi Steve,

On 09.11.2010 01:01, Steve Sakoman wrote:
> On Mon, Nov 8, 2010 at 3:15 PM, Wolfgang Denk <wd@denx.de> wrote:
>> In message <m2k4knd6lx.fsf@ohwell.denx.de> you wrote:
>>> It just occurred to me that this will no longer cross compile the fw_env
>>> tool - effectively rendering the tool useless for me.
>>
>> Argh... Indeed, that's broken.
> 
> I ran into this issue this week too.
> 
> Reverting is one option. I also tried Daniel Hobi's patch "tools/env:
> cleanup host build flags" and that worked for me.

You are refering to this WIP patch:

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/86236

It makes the fw_env tool Makefile similar to the imls Makefile and
solves the errno inclusion problem reported by Detlev.

I still think we need a third set of CC, CFLAGS, SRCS, etc defines for
compiling tools running on the target. However, we probably can default
to the combination CC+HOSTCFLAGS for most platforms.

Best regards,
Daniel

  reply	other threads:[~2010-11-09  9:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15  4:03 [U-Boot] [PATCH 1/4] tools: enable img2srec for "all" target Mike Frysinger
2010-08-15  4:03 ` [U-Boot] [PATCH 2/4] tools: update .gitignore Mike Frysinger
2010-09-12 19:39   ` Wolfgang Denk
2010-08-15  4:03 ` [U-Boot] [PATCH 3/4] unify toplevel tools targets Mike Frysinger
2010-09-12 19:40   ` Wolfgang Denk
2010-08-15  4:03 ` [U-Boot] [PATCH 4/4] tools/env: use host build flags Mike Frysinger
2010-09-12 19:41   ` Wolfgang Denk
2010-11-08 18:15     ` Detlev Zundel
2010-11-08 23:15       ` Wolfgang Denk
2010-11-09  0:01         ` Steve Sakoman
2010-11-09  9:19           ` Daniel Hobi [this message]
2010-11-10  9:19       ` Mike Frysinger
2010-11-10 19:54         ` Wolfgang Denk
2010-11-10 22:11           ` Mike Frysinger
2010-11-10 22:29             ` Wolfgang Denk
2010-11-10 22:55               ` Mike Frysinger
2010-11-14 21:59                 ` Wolfgang Denk
2010-11-15 11:35                   ` Mike Frysinger
2010-09-12 19:39 ` [U-Boot] [PATCH 1/4] tools: enable img2srec for "all" target Wolfgang Denk
2010-09-12 19:44   ` Mike Frysinger
2010-09-12 20:05 ` Wolfgang Denk

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=4CD9123F.3070005@schmid-telecom.ch \
    --to=daniel.hobi@schmid-telecom.ch \
    --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