[OE-core] Python Large File System Support

Burton, Ross ross.burton at intel.com
Wed Sep 24 19:43:38 UTC 2014


On 23 September 2014 02:27, Ong, Boon Leong <boon.leong.ong at intel.com> wrote:
> I did a search around meta/recipes-devtool/python found many recipes files.
> So, I am reaching out to expert in this forum to guide on which is the right file
> to be touched to enabled LFS?

The important one is python_2.7.3.bb.  There's a "largefile"
DISTRO_FEATURE that is sorely under-used and should control whether
the arguments are added.

Tempted to say there should be a largefile.bbclass that you can
control whether it adds to CFLAGS or passes --enable-largefile (as
used by autoconf's AC_SYS_LARGEFILE).  The catch is that you can't
pass the defines globally in every recipe as they change the size of
types, so ABI changes.

Ross



More information about the Openembedded-core mailing list