From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nickos Date: Tue, 24 Jul 2012 08:23:03 -0700 (PDT) Subject: [U-Boot] building tools/env In-Reply-To: <4BFBE07B.7020309@yahoo.com> References: <4BFBE07B.7020309@yahoo.com> Message-ID: <34205899.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.