[meta-virtualization] [PATCH] kubernetes: set COMPATIBLE_HOST

Bruce Ashfield bruce.ashfield at gmail.com
Wed Jul 31 19:16:56 PDT 2019


merged.

Bruce

On Wed, Jul 31, 2019 at 9:24 PM Chen Qi <Qi.Chen at windriver.com> wrote:

> Currently kubernetes does not build for qemux86, qemumips, qemumips64,
> qemuppc. So set COMPATIBLE_HOST to make this clear. Otherwise we get
> build failure when trying to build like below.
>
>   fatal error: bits/long-double-64.h: No such file or directory
>
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
>  recipes-containers/kubernetes/kubernetes_git.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-containers/kubernetes/kubernetes_git.bb
> b/recipes-containers/kubernetes/kubernetes_git.bb
> index ea34719..5b4c3a9 100644
> --- a/recipes-containers/kubernetes/kubernetes_git.bb
> +++ b/recipes-containers/kubernetes/kubernetes_git.bb
> @@ -28,6 +28,8 @@ inherit systemd
>  inherit go
>  inherit goarch
>
> +COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux'
> +
>  do_compile() {
>         export GOARCH="${TARGET_GOARCH}"
>         export GOOS="${TARGET_GOOS}"
> --
> 2.17.1
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20190731/4b8b7bef/attachment.html>


More information about the meta-virtualization mailing list