summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-05-29 00:01:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:31:22 +0100
commitdad1c2746326912db41a3ff180679cdfe0e844f9 (patch)
tree939b77386c5d43c7e3276f4d993711a062e601e0
parent797ef28c55a30f1b465ce512fffa4e06c7f1c658 (diff)
downloadopenembedded-core-dad1c2746326912db41a3ff180679cdfe0e844f9.tar.gz
openembedded-core-dad1c2746326912db41a3ff180679cdfe0e844f9.tar.bz2
openembedded-core-dad1c2746326912db41a3ff180679cdfe0e844f9.zip
multilib_header: Do not install mutlilib headers for musl
musl is not multilib and this creates trouble. eg. when util-linux probes for ncurses it does not find it because ncurses has installed the multilibbed header and this header includes bits/wordsize.h and this header does not exist on musl systems. If and when musl adds multilib support we will revisit it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/multilib_header.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/multilib_header.bbclass b/meta/classes/multilib_header.bbclass
index 4d049a82e6..5ee0a2d562 100644
--- a/meta/classes/multilib_header.bbclass
+++ b/meta/classes/multilib_header.bbclass
@@ -6,6 +6,13 @@ inherit siteinfo
# all of the ABI variants for that given architecture.
#
oe_multilib_header() {
+
+ case ${HOST_OS} in
+ *-musl*)
+ return
+ ;;
+ *)
+ esac
# We use
# For ARM: We don't support multilib builds.
# For MIPS: "n32" is a special case, which needs to be