From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Building fw_printenv ?
Date: Thu, 10 Mar 2005 13:00:42 +0100 [thread overview]
Message-ID: <423036EA.8060500@imc-berlin.de> (raw)
In-Reply-To: <20050310114743.C378AC1510@atlas.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 <linux/mtd/mtd.h>
+#include <mtd/mtd-user.h>
Thanks.
--
Steven
prev parent reply other threads:[~2005-03-10 12:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 11:32 [U-Boot-Users] Building fw_printenv ? Steven Scholz
2005-03-10 11:47 ` Wolfgang Denk
2005-03-10 12:00 ` Steven Scholz [this message]
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=423036EA.8060500@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--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