summaryrefslogtreecommitdiffstats
path: root/meta
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-06-01 14:29:29 +0100
commit7e84ec1a7420b63932d3aaf141e62db550f9bd13 (patch)
tree07d580a6c27ea518aecf9a7055b009ef475e054a /meta
parente06c0a2d53f45db058f405ab36cca2973f9b2a79 (diff)
downloadpoky-7e84ec1a7420b63932d3aaf141e62db550f9bd13.tar.gz
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. (From OE-Core rev: dad1c2746326912db41a3ff180679cdfe0e844f9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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
6# all of the ABI variants for that given architecture. 6# all of the ABI variants for that given architecture.
7# 7#
8oe_multilib_header() { 8oe_multilib_header() {
9
10 case ${HOST_OS} in
11 *-musl*)
12 return
13 ;;
14 *)
15 esac
9 # We use 16 # We use
10 # For ARM: We don't support multilib builds. 17 # For ARM: We don't support multilib builds.
11 # For MIPS: "n32" is a special case, which needs to be 18 # For MIPS: "n32" is a special case, which needs to be