[U-Boot-Users] [PATCH]: tools: fix fw_printenv tool to compile again

Wolfgang Denk wd at denx.de
Tue Nov 27 23:06:19 CET 2007


In message <474C390C.8060007 at qstreams.com> you wrote:
>
> Sounds good to me.  It'd be cooler if make could detect the 
> presence/absence of <linux/mtd-user.h>, but I'm not enough of a build 
> system whiz to know how to do that.

Where should he detect this? On the build host? Who says the target
uses the same kernel / MTD version? Who says you always want to build
for the same kernel / MTD version? 

I think auto-detection is basicly impossible (at least without making
the build depending on  the  knowledge  of  a  "corresponding"  Linux
kernel   tree,   and   I   think   Markus'   new   approach  is  more
straightforward.

> 1.  Can you also please add the other part of my patch that 
> creates/destroys the 'fw_setenv' symbolic link?  It's a bit annoying 
> that the documentation mentions the 'fw_setenv' utility, but it doesn't 
> really exist without a bit of help.
> 
> 2.  Please include changes to the relevant documentation (README + wiki) 
> so that people know to when and how to set MTD_VERSION.  This may 
> prevent a few 'RTFM' e-mails.

Agreed for README. The wiki cannot be "patched" like this. We can
Markus only make promise that he will update the information there,
too.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Doubt isn't the opposite of faith; it is an element of faith.
- Paul Tillich, German theologian and historian




More information about the U-Boot mailing list