[PATCH 1/2] mkfs.ubifs: UBI I/O Library

Corentin Chary corentin.chary at gmail.com
Fri May 8 10:59:18 EDT 2009


On Fri, May 8, 2009 at 4:14 PM, Artem Bityutskiy <dedekind at infradead.org> wrote:
> In fact, I already have simple implementation of setprop/unmap
> functions which I use in the ubi tests.
>
> I've just pushed them. There are some other patches as well.
> But the main change - mtd sysfs support is not pushed - but
> I'll do it very soon. After this the change rate will become
> low again.
>
> Some of my changes are not very good, in a sense that they do
> not fix one small thing, but contain several things. But this
> is mostly because I was accustomed to be the only ubi-utils
> developer. If you are going to work with the code base, I
> will be more careful.

I'll see what I can do to use libubi the way I want.
The problem of using libubi in mkfs is not the includes (we can copy
the headers in /include or add -I../ubi-utils/include).
The main problem is that ubi-utils/Makefile make a libubi.a but
mkfs.ubifs/Makefile have no way to use it (we could add
../ubi-utils/src/libubi.c to the sources, but it's ugly).
I think it's why there is 3 crc32.c in mtd-utils ...
As I'm working on my free time I don't have the time to try to make it
works with the current buildsystem.
Mike, have you got any suggestion ?
Maybe moving to autotools instead of CMake could help us ?

Thanks

-- 
Corentin Chary
http://xf.iksaif.net



More information about the linux-mtd mailing list