Compiling MTD-utils
Hi All
I'm tring to compile the latest snapshot of MTD utils for my host and embedded target systems. According to Karim Yaghmour's Building Embedded Linux Systems I should use:
$ automake --foreign; autoconf $ ./configure --with-kernel=/usr/src/linux
When I do I get the folowing error messages:
"automake: 'configure.ac ' or 'configure.in' is required "autoconf: no input file"
Are these the correct commands? If not what should I be using??
Any suggestions would be appreciated
Thanks
Andy Douglas
Quoted 10 lines
Hi All
I'm tring to compile the latest snapshot of MTD utils for my host and
embedded target systems. According to Karim Yaghmour's Building Embedded Linux Systems I should use:$ automake --foreign; autoconf $ ./configure --with-kernel=/usr/src/linux
No, I don't believe those are the correct commands. I've never used them anyways, and MTD has changed since his instructions.
I simply enter the 'mtd/util' directory, and do make CROSS=arm-linux- flash_erase flash_eraseall nanddump nandwrite
(as those are the only utilities I use)
Take a look at the makefile, it seems pretty straightforward.
Mike