diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-10-13 20:47:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-27 07:24:26 +0000 |
commit | 32c86250d5e7f7808fffc86af54cd8677d5e7796 (patch) | |
tree | 4b931bbd23293d97c1400b4929830045e8d5fb94 /meta/recipes-core | |
parent | 20b7d876ed29327388ec035fcfcbaf67fac22c33 (diff) | |
download | poky-32c86250d5e7f7808fffc86af54cd8677d5e7796.tar.gz |
coreutils: Do not use host paths in getloadavg.m4
helps configure QA pass when building for uclibc
Change-Id: I42e9542829bc3678ee777d0a8768aecdf77eaead
(From OE-Core rev: 0071c0e474f5f5f9418b31efbdb7b8fcd41b2daf)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch | 18 | ||||
-rw-r--r-- | meta/recipes-core/coreutils/coreutils_6.9.bb | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch b/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch new file mode 100644 index 0000000000..c72efd4d30 --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Remove hardcoded paths so OE's configure QA does not detect it and fail the builds | ||
2 | For cross compilation is less interesting to look into host paths for target libraries anyway | ||
3 | |||
4 | Upstream-Status: Inappropriate [OE Specific] | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | Index: coreutils-6.9/m4/getloadavg.m4 | ||
8 | =================================================================== | ||
9 | --- coreutils-6.9.orig/m4/getloadavg.m4 | ||
10 | +++ coreutils-6.9/m4/getloadavg.m4 | ||
11 | @@ -49,7 +49,6 @@ if test $gl_have_func = no; then | ||
12 | # There is a commonly available library for RS/6000 AIX. | ||
13 | # Since it is not a standard part of AIX, it might be installed locally. | ||
14 | gl_getloadavg_LIBS=$LIBS | ||
15 | - LIBS="-L/usr/local/lib $LIBS" | ||
16 | AC_CHECK_LIB(getloadavg, getloadavg, | ||
17 | [LIBS="-lgetloadavg $LIBS"], [LIBS=$gl_getloadavg_LIBS]) | ||
18 | fi | ||
diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb index 8d5b96db96..e9f82abc8b 100644 --- a/meta/recipes-core/coreutils/coreutils_6.9.bb +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb | |||
@@ -26,6 +26,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.bz2 \ | |||
26 | file://coreutils-build-with-acl.patch \ | 26 | file://coreutils-build-with-acl.patch \ |
27 | file://coreutils-fix-texinfo.patch \ | 27 | file://coreutils-fix-texinfo.patch \ |
28 | file://fix_for_manpage_building.patch \ | 28 | file://fix_for_manpage_building.patch \ |
29 | file://loadavg.patch \ | ||
29 | " | 30 | " |
30 | 31 | ||
31 | SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06" | 32 | SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06" |