[oe] [meta-oe][PATCH] netperf: set _FILE_OFFSET_BITS to 64 to support large files

Otavio Salvador otavio at ossystems.com.br
Thu Sep 26 21:35:25 UTC 2013


On Thu, Sep 26, 2013 at 6:20 AM,  <b28495 at freescale.com> wrote:
> From: Ting Liu <b28495 at freescale.com>
>
> Without this patch, netperf2.6 can only
> support files smaller than 2GB with TCP_SENDFILE item.
>
> Signed-off-by: Ting Liu <b28495 at freescale.com>
> Tested-by: Jianhua Xie<jianhua.xie at freescale.com>

Please make it conditional as:

 ${@base_contains('DISTRO_FEATURES', 'largefile',
'D_FILE_OFFSET_BITS=64', '', d)}

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-devel mailing list