[Buildroot] [PATCH v2] kmod: needs largefile

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 4 18:38:38 UTC 2015


Dear Fabio Porcedda,

On Wed,  4 Mar 2015 08:06:22 +0100, Fabio Porcedda wrote:
> Since version 20 it requires largefile support.
> 
> http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=481ad14550087c77c9df6d117c7a975a38a4ad33
>  - Disable --disable-largefile. We already had possible bugs in the
>    index implementation if this were passed. It's now fixed, but it's
>    never tested. Disable it.
> 
> Fix build failure:
> configure: error: --disable-largefile is not supported by kmod
> package/pkg-generic.mk:172: recipe for target 'output/build/kmod-20/.stamp_configured' failed
> 
> Fixes:
> http://autobuild.buildroot.net/results/f662d9230e4bc2da7dc56a2ffd493cc37254d377//
> http://autobuild.buildroot.net/results/233ec8ee346e15d41658cffc6bbb4a6c9dd46746//
> 
> Signed-off-by: Fabio Porcedda <fabio.porcedda at gmail.com>
> Cc: Baruch Siach <baruch at tkos.co.il>

Applied, after doing some minor changes:

    [Thomas:
     - use two separate 'depends on' conditions for BR2_STATIC_LIBS and
       BR2_LARGEFILE, like we do in most packages.
     - take this opportunity to also indicate the dependency on dynamic
       library in the comment, which was missing until now.]

Thanks!    

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list