summaryrefslogtreecommitdiffstats
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:45:47 +0100
commit96415387fa16088be86486a97b145bc186e8968f (patch)
tree87cf4adb8471d63447b6a8f420ec50752f226db7
parent8eb10106116170aae3cea8be3611b8b8608b3b08 (diff)
downloadpoky-96415387fa16088be86486a97b145bc186e8968f.tar.gz
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. (From OE-Core rev: fa1eb21933a880aa20e4ca87574753b1ec272c3b) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.14.bb2
-rw-r--r--meta/site/common-glibc3
-rw-r--r--meta/site/common-uclibc3
3 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb b/meta/recipes-core/coreutils/coreutils_8.14.bb
index f3b7af7d13..fa2a2c9ebc 100644
--- a/meta/recipes-core/coreutils/coreutils_8.14.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.14.bb
@@ -27,7 +27,7 @@ bindir_progs = "base64 basename chcon cksum comm csplit cut dir dircolors dirnam
27 join link logname md5sum mkfifo mktemp nice nl nohup nproc od paste pathchk \ 27 join link logname md5sum mkfifo mktemp nice nl nohup nproc od paste pathchk \
28 pinky pr printenv printf ptx readlink runcon seq sha1sum sha224sum sha256sum \ 28 pinky pr printenv printf ptx readlink runcon seq sha1sum sha224sum sha256sum \
29 sha384sum sha512sum shred shuf sort split stat stdbuf sum tac tail tee test timeout\ 29 sha384sum sha512sum shred shuf sort split stat stdbuf sum tac tail tee test timeout\
30 tr truncate tsort tty unexpand uniq unlink uptime users vdir wc who whoami yes" 30 tr truncate tsort tty unexpand uniq unlink uptime users vdir wc who whoami yes df"
31 31
32# hostname gets a special treatment and is not included in this 32# hostname gets a special treatment and is not included in this
33base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill ln ls mkdir \ 33base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill ln ls mkdir \
diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index 9b74038d90..364ab67d78 100644
--- a/meta/site/common-glibc
+++ b/meta/site/common-glibc
@@ -25,6 +25,9 @@ clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
25clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} 25clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
26ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} 26ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
27 27
28# coreutils
29fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
30
28# glib 31# glib
29glib_cv_strlcpy=${glib_cv_strlcpy=no} 32glib_cv_strlcpy=${glib_cv_strlcpy=no}
30ac_cv_func_printf_unix98=${ac_cv_func_printf_unix98=yes} 33ac_cv_func_printf_unix98=${ac_cv_func_printf_unix98=yes}
diff --git a/meta/site/common-uclibc b/meta/site/common-uclibc
index bdad0e9dc6..a264765e87 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}
28bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=no} 28bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=no}
29bash_cv_sys_siglist=${bash_cv_sys_siglist=no} 29bash_cv_sys_siglist=${bash_cv_sys_siglist=no}
30 30
31# coreutils
32fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
33
31# va_copy and _va_copy 34# va_copy and _va_copy
32ac_cv_va_copy=${ac_cv_va_copy=yes} 35ac_cv_va_copy=${ac_cv_va_copy=yes}
33ac_cv___va_copy=${ac_cv___va_copy=yes} 36ac_cv___va_copy=${ac_cv___va_copy=yes}