[PATCH 1/2] mkfs.ubifs: UBI I/O Library
Corentin Chary
corentin.chary at gmail.com
Fri May 8 15:41:36 EDT 2009
On Fri, May 8, 2009 at 8:58 PM, Mike Frysinger <vapier.adi at gmail.com> wrote:
> On Fri, May 8, 2009 at 10:59, Corentin Chary wrote:
>> 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).
>
> why do you need to copy any files ?
>
>> The main problem is that ubi-utils/Makefile make a libubi.a but
>> mkfs.ubifs/Makefile have no way to use it
>
> what's wrong with adding -lubi and a -L path ?
It'll work only if libubi is already built. You can fix that in the
root Makefile, but
- parallel builds may not work (make -j)
- "cd mkfs.ubifs && make" won't work (using only the mkfs.ubifs Makefile)
But if it's ok for you, I'll just use -L and -lubi.
--
Corentin Chary
http://xf.iksaif.net
More information about the linux-mtd
mailing list