[Buildroot] mtd issue
Devin Bayer
devin at freeshell.org
Thu Oct 27 18:44:52 UTC 2005
sjhill at realitydiluted.com wrote:
>> The thing is that
>> buildroot's makefile gives no easy way to compile a different version
>> of mtd, since it is looking for a specific file
>> (mtd_20050122.orig.tar.gz). It would be much easier if it was trying
>> to open mtd* or something like that.
>> Would it be possible to change that in the futur ?
>
> Most certainly. Submit a patch.
But if you change it to mtd* then wget would not download
anything, or if it was smart, then it would download multiple
files (in this case, a useless old version of mtd). Then
which would be built?
If you need a newer version, manually change that line in the
Makefile to point to a new version. In this case you will
need to change MTD_SITE also. Look at another package like
busybox that uses a snapshot. Then try to compile it, edit
the Makefile as need be so it works with the new version, and
then submit a patch.
This may seem like more work then nessesary, but it ensures
that before a new upstream version is used, it is tested and
compiles cleanly. Otherwise buildroot could suddenly just
stop working for anybody without even an update.
- Devin Bayer
More information about the uClibc
mailing list