[oe] [meta-networking][PATCH] meta-networking: fix recipes build with external tool-set

Khem Raj raj.khem at gmail.com
Fri Jan 17 18:48:51 UTC 2020


On 1/16/20 11:19 PM, Sumit Garg wrote:
> - drbd-utils: fix native tool dependency which was implicitly met while
>    building with source GCC tool-set.
> - unbound: Use HOST_SYS variable instead of TARGET_PREFIX for libtool as
>    TARGET_PREFIX may vary from source GCC tool-set to external GCC
>    tool-set. Also, libtool-cross is installed in recipe sysroot using
>    HOST_SYS variable only.
> 


Please divide this into two patches since they seem to solve different 
problems. Also remove meta-networking from commit summary line and 
replace it with recipe name.

> Signed-off-by: Sumit Garg <sumit.garg at linaro.org>
> ---
>   meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb | 2 ++
>   meta-networking/recipes-support/unbound/unbound_1.9.4.bb  | 2 +-
>   2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb b/meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb
> index 286b0f6..01bb16a 100644
> --- a/meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb
> +++ b/meta-networking/recipes-support/drbd/drbd-utils_9.11.0.bb
> @@ -23,6 +23,8 @@ UPSTREAM_CHECK_URI = "https://github.com/LINBIT/drbd-utils/releases"
>   SYSTEMD_SERVICE_${PN} = "drbd.service"
>   SYSTEMD_AUTO_ENABLE = "disable"
>   
> +DEPENDS = "flex-native"
> +
>   inherit autotools-brokensep systemd
>   
>   EXTRA_OECONF = " \
> diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.4.bb b/meta-networking/recipes-support/unbound/unbound_1.9.4.bb
> index 03eb2fa..6200214 100644
> --- a/meta-networking/recipes-support/unbound/unbound_1.9.4.bb
> +++ b/meta-networking/recipes-support/unbound/unbound_1.9.4.bb
> @@ -23,7 +23,7 @@ S = "${WORKDIR}/git"
>   
>   EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \
>   		--with-ssl=${STAGING_EXECPREFIXDIR} \
> -		libtool=${TARGET_PREFIX}libtool \
> +		libtool=${HOST_SYS}-libtool \
>   "
>   		
>   
> 



More information about the Openembedded-devel mailing list