public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nickos <nrouaud@yahoo.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] building tools/env
Date: Tue, 24 Jul 2012 08:23:03 -0700 (PDT)	[thread overview]
Message-ID: <34205899.post@talk.nabble.com> (raw)
In-Reply-To: <4BFBE07B.7020309@yahoo.com>


Had you find a solution to your problem. I have the same problem.

Thanks,



steverino2 wrote:
> 
> 
> hi there, I'm attempting to build u-boot 1.1.1 tools/env
> and the build is failed.  Any ideas on best way to enable it in the 
> build.  Here's what I did so far
> 
> first, update tools/Makefile
> 
> TOOLSUBDIRS = env
> 
> then
> 
> top level build
> make clobber mrproper
> make octeon_cn3010_evb_hs5_config
> make all
> 
> the build in tools/env fails due to missing include files
> linux/mtd/mtd.h
> zlib.h
> 
> add to tools/env/Makefile
> 
> CPPFLAGS += ../../include
> 
> and include CPPFLAGS here:
> 
> fw_printenv :  $(SOURCES) $(HEADERS)
>     $(CROSS_COMPILE)gcc -Wall $(CPPFLAGS) -DUSE_HOSTCC $(SOURCES) -o 
> fw_printenv
> 
>  but this leads to build error on definitions of uint32_t, phys_addr_t 
> and erase_info_t
> 
> Any ideas on preferred way to build tools/env?
> 
> thanks in advance!
> 
> 
> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
View this message in context: http://old.nabble.com/-U-Boot--building-tools-env-tp28669277p34205899.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

  parent reply	other threads:[~2012-07-24 15:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25 14:36 [U-Boot] building tools/env Steve DeLaney
2010-05-25 17:46 ` Wolfgang Denk
2012-07-24 15:23 ` Nickos [this message]
2012-07-24 17:44   ` Mike Frysinger

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=34205899.post@talk.nabble.com \
    --to=nrouaud@yahoo.fr \
    --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