summaryrefslogtreecommitdiff
path: root/meta/site/common-uclibc
diff options
context:
space:
mode:
authorJulian Pidancet <julian.pidancet@gmail.com>2011-10-26 22:41:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-27 08:34:45 +0100
commitfa1eb21933a880aa20e4ca87574753b1ec272c3b (patch)
tree0786e5ed21375627c74c18b6d10264b3ce11e716 /meta/site/common-uclibc
parent47c7f5a6f022dca10ae63851c7d9c14ee06f0c0b (diff)
downloadopenembedded-core-fa1eb21933a880aa20e4ca87574753b1ec272c3b.tar.gz
openembedded-core-fa1eb21933a880aa20e4ca87574753b1ec272c3b.tar.bz2
openembedded-core-fa1eb21933a880aa20e4ca87574753b1ec272c3b.tar.xz
openembedded-core-fa1eb21933a880aa20e4ca87574753b1ec272c3b.zip
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>
Diffstat (limited to 'meta/site/common-uclibc')
-rw-r--r--meta/site/common-uclibc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/site/common-uclibc b/meta/site/common-uclibc
index bdad0e9dc..a264765e8 100644
--- a/meta/site/common-uclibc
+++ b/meta/site/common-uclibc
@@ -28,6 +28,9 @@ ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=no}
bash_cv_sys_siglist=${bash_cv_sys_siglist=no}
+# coreutils
+fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
+
# va_copy and _va_copy
ac_cv_va_copy=${ac_cv_va_copy=yes}
ac_cv___va_copy=${ac_cv___va_copy=yes}