All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve DeLaney <onramp123@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] building tools/env
Date: Tue, 25 May 2010 07:36:43 -0700	[thread overview]
Message-ID: <4BFBE07B.7020309@yahoo.com> (raw)


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!

             reply	other threads:[~2010-05-25 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25 14:36 Steve DeLaney [this message]
2010-05-25 17:46 ` [U-Boot] building tools/env Wolfgang Denk
2012-07-24 15:23 ` Nickos
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=4BFBE07B.7020309@yahoo.com \
    --to=onramp123@yahoo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.