runc/containerd: use go.bbclass for dependencies

Rather than explicit go-cross DEPENDS, we can inherit go.bbclass and
pick up them automatically.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Bruce Ashfield 2017-04-11 23:07:47 -04:00
parent 651bbe8bc4
commit 752fde1f87
2 changed files with 2 additions and 4 deletions

View File

@ -12,8 +12,7 @@ S = "${WORKDIR}/git"
PV = "${CONTAINERD_VERSION}+git${SRCREV}"
DEPENDS = "go-cross-${TARGET_ARCH} \
"
inherit go
RRECOMMENDS_${PN} = "lxc docker"
CONTAINERD_PKG="github.com/docker/containerd"

View File

@ -10,8 +10,7 @@ S = "${WORKDIR}/git"
PV = "${RUNC_VERSION}+git${SRCREV}"
DEPENDS = "go-cross-${TARGET_ARCH} \
"
inherit go
RRECOMMENDS_${PN} = "lxc docker"
LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer"