From: "Maxin B. John" <maxin.john@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] argp-standalone: make it available for non-musl systems too
Date: Tue, 23 Feb 2016 17:21:42 +0200 [thread overview]
Message-ID: <1456240902-31768-1-git-send-email-maxin.john@intel.com> (raw)
Without this, uclibc build of rng-tools will fail with this error:
ERROR: Nothing PROVIDES 'argp-standalone'
(but rng-tools_5.bb DEPENDS on or otherwise requires it)
ERROR: argp-standalone was skipped: incompatible with host
x86_64-poky-linux-uclibc (not in COMPATIBLE_HOST)
ERROR: Required build target 'rng-tools' has no buildable providers.
Missing or unbuildable dependency chain was: ['rng-tools',
'argp-standalone']
Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
meta/recipes-support/argp-standalone/argp-standalone_1.3.bb | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-support/argp-standalone/argp-standalone_1.3.bb b/meta/recipes-support/argp-standalone/argp-standalone_1.3.bb
index d61c8be..5148bbf 100644
--- a/meta/recipes-support/argp-standalone/argp-standalone_1.3.bb
+++ b/meta/recipes-support/argp-standalone/argp-standalone_1.3.bb
@@ -21,9 +21,8 @@ CFLAGS += "-fPIC -U__OPTIMIZE__"
do_install() {
install -D -m 0644 ${B}/libargp.a ${D}${libdir}/libargp.a
- install -D -m 0644 ${S}/argp.h ${D}${includedir}/argp.h
}
-#
-# We will skip parsing for non-musl systems
-#
-COMPATIBLE_HOST = ".*-musl.*"
+
+do_install_append_libc-musl() {
+ install -D -m 0644 ${S}/argp.h ${D}${includedir}/argp.h
+}
--
2.4.0
next reply other threads:[~2016-02-23 15:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 15:21 Maxin B. John [this message]
2016-02-23 15:40 ` [PATCH] argp-standalone: make it available for non-musl systems too Khem Raj
2016-02-23 15:43 ` Burton, Ross
2016-02-23 16:05 ` Maxin B. John
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=1456240902-31768-1-git-send-email-maxin.john@intel.com \
--to=maxin.john@intel.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox