diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-20 21:59:10 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-20 23:15:01 -0400 |
commit | 7d66b0cc41110ef81fb94dc3bc6411b9570e5f12 (patch) | |
tree | 93f07dc0a676f5389c41ded50875792e20f5f6dc /recipes-containers/oci-runtime-tools | |
parent | a050e7a61dac3d8fc2f8f68e763002b4a4664d71 (diff) | |
download | meta-virtualization-7d66b0cc41110ef81fb94dc3bc6411b9570e5f12.tar.gz |
go: replace explicit go-cross* with inherit go bbclass
Rather than expliciting depending on go-cross-${TARGET_ARCH}, we
can now simply inherit the oe-core go bbclass. This gets us the
correct go dependencies and other variables properly set.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/oci-runtime-tools')
-rw-r--r-- | recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 7e5af380..a4c544d5 100644 --- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb +++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | |||
@@ -2,7 +2,6 @@ HOMEPAGE = "https://github.com/opencontainers/runtime-tools" | |||
2 | SUMMARY = "oci-runtime-tool is a collection of tools for working with the OCI runtime specification" | 2 | SUMMARY = "oci-runtime-tool is a collection of tools for working with the OCI runtime specification" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b355a61a394a504dacde901c958f662c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b355a61a394a504dacde901c958f662c" |
5 | DEPENDS = "go-cross-${TARGET_ARCH}" | ||
6 | 5 | ||
7 | SRC_URI = "git://github.com/opencontainers/runtime-tools.git" | 6 | SRC_URI = "git://github.com/opencontainers/runtime-tools.git" |
8 | 7 | ||
@@ -12,6 +11,7 @@ PV = "0.0.1+git${SRCPV}" | |||
12 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
13 | 12 | ||
14 | inherit go-osarchmap | 13 | inherit go-osarchmap |
14 | inherit go | ||
15 | 15 | ||
16 | do_compile() { | 16 | do_compile() { |
17 | export GOARCH="${TARGET_GOARCH}" | 17 | export GOARCH="${TARGET_GOARCH}" |