
In message 474C390C.8060007@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.
- 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.
- 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