diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-20 20:59:46 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-21 08:22:32 -0400 |
commit | a8e3eddaeca8b4b034b4310767d941db1d6b1a00 (patch) | |
tree | 822674036b730161f9d87436279e2b7707462222 /recipes-containers | |
parent | 1b83c21436b2aec10e7b604ee5e3905441d1bb8a (diff) | |
download | meta-virtualization-a8e3eddaeca8b4b034b4310767d941db1d6b1a00.tar.gz |
recipes-containers: set GOROOT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers')
5 files changed, 5 insertions, 5 deletions
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb index b8181c7a..07920b9f 100644 --- a/recipes-containers/docker-distribution/docker-distribution_git.bb +++ b/recipes-containers/docker-distribution/docker-distribution_git.bb | |||
@@ -23,7 +23,7 @@ EXTRA_OEMAKE="BUILDTAGS=''" | |||
23 | do_compile() { | 23 | do_compile() { |
24 | export GOARCH="${TARGET_GOARCH}" | 24 | export GOARCH="${TARGET_GOARCH}" |
25 | export GOPATH="${WORKDIR}/git/" | 25 | export GOPATH="${WORKDIR}/git/" |
26 | 26 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | |
27 | # Pass the needed cflags/ldflags so that cgo | 27 | # Pass the needed cflags/ldflags so that cgo |
28 | # can find the needed headers files and libraries | 28 | # can find the needed headers files and libraries |
29 | export CGO_ENABLED="1" | 29 | export CGO_ENABLED="1" |
diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb index 49375b7f..125362bb 100644 --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb | |||
@@ -27,7 +27,7 @@ EXTRA_OEMAKE="BUILDTAGS=''" | |||
27 | 27 | ||
28 | do_compile() { | 28 | do_compile() { |
29 | export GOARCH="${TARGET_GOARCH}" | 29 | export GOARCH="${TARGET_GOARCH}" |
30 | 30 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | |
31 | # Setup vendor directory so that it can be used in GOPATH. | 31 | # Setup vendor directory so that it can be used in GOPATH. |
32 | # | 32 | # |
33 | # Go looks in a src directory under any directory in GOPATH but riddler | 33 | # Go looks in a src directory under any directory in GOPATH but riddler |
diff --git a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb index a4c544d5..176860ec 100644 --- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb +++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | |||
@@ -15,7 +15,7 @@ inherit go | |||
15 | 15 | ||
16 | do_compile() { | 16 | do_compile() { |
17 | export GOARCH="${TARGET_GOARCH}" | 17 | export GOARCH="${TARGET_GOARCH}" |
18 | 18 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | |
19 | export GOPATH="${S}" | 19 | export GOPATH="${S}" |
20 | 20 | ||
21 | # Pass the needed cflags/ldflags so that cgo | 21 | # Pass the needed cflags/ldflags so that cgo |
diff --git a/recipes-containers/riddler/riddler_git.bb b/recipes-containers/riddler/riddler_git.bb index a04cc3e2..51599803 100644 --- a/recipes-containers/riddler/riddler_git.bb +++ b/recipes-containers/riddler/riddler_git.bb | |||
@@ -18,7 +18,7 @@ EXTRA_OEMAKE="BUILDTAGS=''" | |||
18 | 18 | ||
19 | do_compile() { | 19 | do_compile() { |
20 | export GOARCH="${TARGET_GOARCH}" | 20 | export GOARCH="${TARGET_GOARCH}" |
21 | 21 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | |
22 | # Setup vendor directory so that it can be used in GOPATH. | 22 | # Setup vendor directory so that it can be used in GOPATH. |
23 | # | 23 | # |
24 | # Go looks in a src directory under any directory in GOPATH but riddler | 24 | # Go looks in a src directory under any directory in GOPATH but riddler |
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc index 7626dad7..64cf3f85 100644 --- a/recipes-containers/runc/runc.inc +++ b/recipes-containers/runc/runc.inc | |||
@@ -23,7 +23,7 @@ inherit go-osarchmap | |||
23 | 23 | ||
24 | do_compile() { | 24 | do_compile() { |
25 | export GOARCH="${TARGET_GOARCH}" | 25 | export GOARCH="${TARGET_GOARCH}" |
26 | 26 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | |
27 | # Set GOPATH. See 'PACKAGERS.md'. Don't rely on | 27 | # Set GOPATH. See 'PACKAGERS.md'. Don't rely on |
28 | # docker to download its dependencies but rather | 28 | # docker to download its dependencies but rather |
29 | # use dependencies packaged independently. | 29 | # use dependencies packaged independently. |