summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2019-08-01 09:23:59 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-07-31 22:15:22 -0400
commit4f870fa7553a93c43ceca5b9d8afaeda51744fdd (patch)
treea9427da575ececfb6221076cbaa2728a9f9ddc0a
parenta23a7d6dcaa4eb1f2f46be9177cbdf56ec7e89dd (diff)
downloadmeta-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.bb2
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
28inherit go 28inherit go
29inherit goarch 29inherit goarch
30 30
31COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux'
32
31do_compile() { 33do_compile() {
32 export GOARCH="${TARGET_GOARCH}" 34 export GOARCH="${TARGET_GOARCH}"
33 export GOOS="${TARGET_GOOS}" 35 export GOOS="${TARGET_GOOS}"