[Buildroot] [PATCH 2/2] mtd-utils.git: fix targets

Daniel Mack daniel at caiaq.de
Thu Aug 6 14:18:18 UTC 2009


On Thu, Aug 06, 2009 at 09:58:48AM +0200, Peter Korsgaard wrote:
> >>>>> "Daniel" == Daniel Mack <daniel at caiaq.de> writes:
> 
>  >> I expect that you just need to make mkfs.ubifs depend on largefile
>  >> support in the toolchain if it cannot easily be fixed in the
>  >> sources.
> 
>  Daniel> Hmm, yes. Unfortunately, we'll have to depend on LARGEFILE
>  Daniel> then. Give the patch below a try - and thanks for the
>  Daniel> patience :)
> 
> Hmm, that's quite a big hammer. Looking closer at it, it seems like
> the only thing that really needs largefile and libuuid support is
> mkfs.ubifs, which you build but never install. Wouldn't it be a lot
> simpler to simply add SUBDIRS=ubi-utils to the make arguments so it
> never tries to build mkfs.ubifs and get rid of the libuuid / largefile
> dependency?


I tried that now and it doesn't seem to suffice to override the SUBDIRS
directive. There are some other references as well.

As I would like to see these feature in the 2009.08 release, I suggest
to take it as it is now and amend it later to maybe eventually drop the
LARGEFILE dependency again. Does that sound feasible?

Daniel


More information about the buildroot mailing list