From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Thu, 10 Mar 2005 13:00:42 +0100 Subject: [U-Boot-Users] Building fw_printenv ? In-Reply-To: <20050310114743.C378AC1510@atlas.denx.de> References: <20050310114743.C378AC1510@atlas.denx.de> Message-ID: <423036EA.8060500@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message <42303056.3010305@imc-berlin.de> you wrote: > >>how can I build fw_printenv? > > > -> cd tools/env > -> make > ln -s ../../lib_generic/crc32.c crc32.c > cc -M -DUSE_HOSTCC crc32.c fw_env.c fw_env_main.c > .depend > ppc_8xx-gcc -Wall -DUSE_HOSTCC crc32.c fw_env.c fw_env_main.c -o fw_printenv Ok. I had to put "-I ../../include" in the Makefile for zlib.h as well. And for my linux-2.6 with new MTD I have to use -#include +#include Thanks. -- Steven