Skip to contentSkip to conversation

multilib: Enable multilib headers for musl

PATCH Superseded Khem Raj 1 participant 2 messages Apr 9, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 multilib: Enable multilib headers for musl

This is no longer needed as we can build multilibbed images with musl now

[YOCTO #13122]

---
 meta/classes/multilib_header.bbclass | 7 -------
 1 file changed, 7 deletions(-)
meta/classes/multilib_header.bbclass +0 -7
index e03f5b13b2..48f231eed0 100644
@@ -6,13 +6,6 @@ inherit siteinfo
 # all of the ABI variants for that given architecture.
 #
 oe_multilib_header() {
-
-	case ${HOST_OS} in
-	*-musl*)
-		return
-		;;
-	*)
-	esac
         # For MIPS: "n32" is a special case, which needs to be
         # distinct from both 64-bit and 32-bit.
         case ${TARGET_ARCH} in
Signature · 1 line
2.26.0
author
#1 lore raw

I just realized that this patch is not enough for multilib to work on musl, we also need to make sure needed musl headers are also generated using oe_multilib_header I can cook up a patch in a day or so.

Quoted 32 lines · Khem Raj

This is no longer needed as we can build multilibbed images with musl now

[YOCTO #13122]

---
 meta/classes/multilib_header.bbclass | 7 -------
 1 file changed, 7 deletions(-)
meta/classes/multilib_header.bbclass +0 -8
index e03f5b13b2..48f231eed0 100644
@@ -6,13 +6,6 @@ inherit siteinfo
 # all of the ABI variants for that given architecture.
 #
 oe_multilib_header() {
-
-       case ${HOST_OS} in
-       *-musl*)
-               return
-               ;;
-       *)
-       esac
         # For MIPS: "n32" is a special case, which needs to be
         # distinct from both 64-bit and 32-bit.
         case ${TARGET_ARCH} in
--

2.26.0