public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] building tools/env
@ 2010-05-25 14:36 Steve DeLaney
  2010-05-25 17:46 ` Wolfgang Denk
  2012-07-24 15:23 ` Nickos
  0 siblings, 2 replies; 4+ messages in thread
From: Steve DeLaney @ 2010-05-25 14:36 UTC (permalink / raw)
  To: u-boot


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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-24 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-07-24 17:44   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox