]> code.ossystems Code Review - openembedded-core.git/commit
Give coreutils a chance to build the df utility
authorJulian Pidancet <julian.pidancet@gmail.com>
Wed, 26 Oct 2011 21:41:23 +0000 (22:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Oct 2011 07:34:45 +0000 (08:34 +0100)
commitfa1eb21933a880aa20e4ca87574753b1ec272c3b
tree0786e5ed21375627c74c18b6d10264b3ce11e716
parent47c7f5a6f022dca10ae63851c7d9c14ee06f0c0b
Give coreutils a chance to build the df utility

The coreutils configure script is unable determine how to get free
space from the Operating System when cross-compiling.
This changes caches the result of the "statfs2_bsize" test for the
coreutils configure script.
Both glibc and uclibc defines statfs as a two-argument function
and uses a struct statfs containing a f_bsize field. That's why
the fu_cv_sys_stat_statfs2_bsize variable has to be defined for
both libcs.

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/coreutils/coreutils_8.14.bb
meta/site/common-glibc
meta/site/common-uclibc