From: "Andr? Draszik" <git@andred.net>
To: yocto@yoctoproject.org
Subject: [yocto][meta-gplv2][PATCH 2/2] coreutils: set some more autotools / m4 test results
Date: Fri, 10 Jan 2020 17:15:41 +0000 [thread overview]
Message-ID: <20200110171541.31341-2-git@andred.net> (raw)
In-Reply-To: <20200110171541.31341-1-git@andred.net>
From: André Draszik <git@andred.net>
While we set test outcomes in oe-core meta/site, this here uses
an old version of gnulib with slightly different variable names
for some of the results:
* jm_cv_func_unlink_busy_text -> gl_cv_func_unlink_busy_text
* jm_cv_have_proc_uptime -> gl_cv_have_proc_uptime
* jm_ac_cv_func_link_follows_symlink -> gl_cv_func_link_follows_symlink
* gl_cv_func_mkdir_trailing_slash_bug -> gl_cv_func_mkdir_trailing_slash_works
(meaning inverted) (defaults to working in recent coreutils when
cross-compiling
* gl_cv_func_rename_trailing_dest_slash_bug -> gl_cv_func_rename_slash_dst_works
(meaning inverted) defaults to working in recent coreutils when cross-compiling
for linux
* gl_cv_func_rename_trailing_slash_bug -> gl_cv_func_rename_slash_src_works
(meaning inverted) defaults to working in recent coreutils when cross-compiling
for linux
This helps to make some tools work in the first place (uptime), but
also avoids useless extra wrappers which coreutils otherwise compiles
in.
While at it, convert to CACHED_CONFIGUREVAR instead of EXTRA_OECONF.
Signed-off-by: André Draszik <git@andred.net>
---
recipes-core/coreutils/coreutils_6.9.bb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/recipes-core/coreutils/coreutils_6.9.bb b/recipes-core/coreutils/coreutils_6.9.bb
index f6017ec..42b4f3c 100644
--- a/recipes-core/coreutils/coreutils_6.9.bb
+++ b/recipes-core/coreutils/coreutils_6.9.bb
@@ -32,9 +32,15 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.bz2 \
SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06"
SRC_URI[sha256sum] = "89c2895ad157de50e53298b22d91db116ee4e1dd3fdf4019260254e2e31497b0"
-EXTRA_OECONF += "ac_cv_func_getgroups_works=yes \
+CACHED_CONFIGUREVARS = "ac_cv_func_getgroups_works=yes \
ac_cv_func_strcoll_works=yes \
ac_cv_func_working_mktime=yes \
+ jm_ac_cv_func_link_follows_symlink=no \
+ jm_cv_func_unlink_busy_text=yes \
+ jm_cv_have_proc_uptime=yes \
+ gl_cv_func_mkdir_trailing_slash_bug=no \
+ gl_cv_func_rename_trailing_slash_bug=no \
+ gl_cv_func_rename_trailing_dest_slash_bug=no \
"
# acl is not a default feature
--
2.23.0.rc1
next prev parent reply other threads:[~2020-01-10 17:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-10 17:15 [yocto][meta-gplv2][PATCH 1/2] coreutils: fix build with 64bit time_t on 32bit arches Andr? Draszik
2020-01-10 17:15 ` Andr? Draszik [this message]
[not found] ` <15E895F472611D11.20149@lists.yoctoproject.org>
2020-01-20 9:02 ` [yocto][meta-gplv2][PATCH 2/2] coreutils: set some more autotools / m4 test results André Draszik
[not found] ` <15EB8CDD7696F9CF.25959@lists.yoctoproject.org>
2020-01-27 11:25 ` André Draszik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200110171541.31341-2-git@andred.net \
--to=git@andred.net \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.