diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-08-01 09:23:59 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-07-31 22:15:22 -0400 |
commit | 4f870fa7553a93c43ceca5b9d8afaeda51744fdd (patch) | |
tree | a9427da575ececfb6221076cbaa2728a9f9ddc0a | |
parent | a23a7d6dcaa4eb1f2f46be9177cbdf56ec7e89dd (diff) | |
download | meta-virtualization-4f870fa7553a93c43ceca5b9d8afaeda51744fdd.tar.gz |
kubernetes: set COMPATIBLE_HOST
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@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/kubernetes/kubernetes_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb index ea347197..5b4c3a91 100644 --- a/recipes-containers/kubernetes/kubernetes_git.bb +++ b/recipes-containers/kubernetes/kubernetes_git.bb | |||
@@ -28,6 +28,8 @@ inherit systemd | |||
28 | inherit go | 28 | inherit go |
29 | inherit goarch | 29 | inherit goarch |
30 | 30 | ||
31 | COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux' | ||
32 | |||
31 | do_compile() { | 33 | do_compile() { |
32 | export GOARCH="${TARGET_GOARCH}" | 34 | export GOARCH="${TARGET_GOARCH}" |
33 | export GOOS="${TARGET_GOOS}" | 35 | export GOOS="${TARGET_GOOS}" |