[OE-core] [PATCH 5/7] openssl: Support musl-x32 build

Khor, Swee Aun swee.aun.khor at intel.com
Thu Jul 6 09:15:03 UTC 2017


You are right, the linux-musl* removing is breaking other musl arches. I will change to this. 

@@ -65,8 +65,7 @@ do_configure () {
 	os=${HOST_OS}
 	case $os in
 	linux-gnueabi |\
	linux-gnuspe |\
-	linux-musl*)
+	linux-musleabi |\
+	linux-muslspe)
		os=linux
 		;;
 		*)

I will combine the linux-gnux32-x86_64 and linux-muslx32-x86_64. 

@@ -101,6 +100,9 @@ do_configure () {
-	linux-gnux32-x86_64
+	linux-gnux32-x86_64| linux-muslx32-x86_64)
 		target=linux-x32
 		;;
	linux-gnu64-x86_64)
 		target=linux-x86_64
 		;;
-- 
2.7.4


-----Original Message-----
From: Khem Raj [mailto:raj.khem at gmail.com] 
Sent: Thursday, July 6, 2017 3:24 PM
To: Khor, Swee Aun <swee.aun.khor at intel.com>; openembedded-core at lists.openembedded.org
Subject: Re: [OE-core] [PATCH 5/7] openssl: Support musl-x32 build



On 7/5/17 4:56 PM, swee.aun.khor at intel.com wrote:
> From: sweeaun <swee.aun.khor at intel.com>
> 
> Support musl-x32 build which to build openssl with 32 bits.
> 
> Signed-off-by: sweeaun <swee.aun.khor at intel.com>
> ---
>  meta/recipes-connectivity/openssl/openssl.inc | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
> index 3980ec2..bcbbe06 100644
> --- a/meta/recipes-connectivity/openssl/openssl.inc
> +++ b/meta/recipes-connectivity/openssl/openssl.inc
> @@ -65,8 +65,7 @@ do_configure () {
>  	os=${HOST_OS}
>  	case $os in
>  	linux-gnueabi |\
> -	linux-gnuspe |\
> -	linux-musl*)

removing this will break other musl arches.

> +	linux-gnuspe)
>  		os=linux
>  		;;
>  		*)
> @@ -101,6 +100,9 @@ do_configure () {
>  	linux-gnux32-x86_64)
>  		target=linux-x32
>  		;;
> +        linux-muslx32-x86_64)
> +                target=linux-x32
> +                ;;

you can move it above the generic check above

>  	linux-gnu64-x86_64)
>  		target=linux-x86_64
>  		;;
> 




More information about the Openembedded-core mailing list