go-cross: add ${TARGET_ARCH} to PN

Since we are building a cross tool which produces something which is
ARCH specific we should stick to the <toolname>-cross-<arch> naming
convention. A variant of this patch has been floating around for a
while but with the changes around per recipe sysroots, distributed
builds, shared builds... we are best served to adopt this convention
now.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Mark Asselstine 2017-02-08 12:53:27 -05:00 committed by Bruce Ashfield
parent d475adc71b
commit 2ef58c264b
7 changed files with 9 additions and 6 deletions

View File

@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
CONTAINERD_VERSION = "0.2.2"
PV = "${CONTAINERD_VERSION}+git${SRCREV}"
DEPENDS = "go-cross \
DEPENDS = "go-cross-${TARGET_ARCH} \
"
RRECOMMENDS_${PN} = "lxc docker"

View File

@ -37,7 +37,7 @@ DOCKER_VERSION = "1.13.0"
PV = "${DOCKER_VERSION}+git${SRCREV}"
DEPENDS = " \
go-cross \
go-cross-${TARGET_ARCH} \
go-cli \
go-pty \
go-context \

View File

@ -2,7 +2,7 @@ HOMEPAGE = "https://github.com/opencontainers/runtime-tools"
SUMMARY = "oci-runtime-tool is a collection of tools for working with the OCI runtime specification"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b355a61a394a504dacde901c958f662c"
DEPENDS = "go-cross"
DEPENDS = "go-cross-${TARGET_ARCH}"
SRC_URI = "git://github.com/opencontainers/runtime-tools.git"

View File

@ -2,7 +2,7 @@ HOMEPAGE = "https://github.com/jfrazelle/riddler"
SUMMARY = "Convert `docker inspect` to opencontainers (OCI compatible) runc spec."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1"
DEPENDS = "go-cross"
DEPENDS = "go-cross-${TARGET_ARCH}"
SRC_URI = "git://github.com/jfrazelle/riddler;branch=master"
SRCREV = "23befa0b232877b5b502b828e24161d801bd67f6"

View File

@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
RUNC_VERSION = "1.0.0-rc1"
PV = "${RUNC_VERSION}+git${SRCREV}"
DEPENDS = "go-cross \
DEPENDS = "go-cross-${TARGET_ARCH} \
"
RRECOMMENDS_${PN} = "lxc docker"

View File

@ -1,5 +1,8 @@
inherit cross
# Produces target arch specific code so we should reflect this in the PN
PN = "go-cross-${TARGET_ARCH}"
# libgcc is required for the target specific libraries to build properly
DEPENDS += "go-initial-native libgcc virtual/${TARGET_PREFIX}gcc"

View File

@ -2,7 +2,7 @@ HOMEPAGE = "https://github.com/jfrazelle/netns"
SUMMARY = "Runc hook for setting up default bridge networking."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1"
DEPENDS = "go-cross"
DEPENDS = "go-cross-${TARGET_ARCH}"
SRC_URI = "git://github.com/jfrazelle/netns;branch=master"
SRCREV = "2804050eeab661bfa75c3aa06bdcf60273b02ca7"