diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-20 15:54:50 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-20 15:55:03 -0400 |
commit | a050e7a61dac3d8fc2f8f68e763002b4a4664d71 (patch) | |
tree | e164e6ec28b789bda3d47741437ad2efb973e270 /recipes-networking/netns | |
parent | b44fce825df56c0f26adb6ae1f647ae07f6096ee (diff) | |
download | meta-virtualization-a050e7a61dac3d8fc2f8f68e763002b4a4664d71.tar.gz |
go: use inherit go versus explicit DEPENDS
We can now use the oe-core go bbclass to get our DEPENDS correct
for building these go packages.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/netns')
-rw-r--r-- | recipes-networking/netns/netns_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-networking/netns/netns_git.bb b/recipes-networking/netns/netns_git.bb index 247b37d6..1efcf9a6 100644 --- a/recipes-networking/netns/netns_git.bb +++ b/recipes-networking/netns/netns_git.bb | |||
@@ -2,7 +2,6 @@ HOMEPAGE = "https://github.com/jfrazelle/netns" | |||
2 | SUMMARY = "Runc hook for setting up default bridge networking." | 2 | SUMMARY = "Runc hook for setting up default bridge networking." |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1" |
5 | DEPENDS = "go-cross-${TARGET_ARCH}" | ||
6 | 5 | ||
7 | SRC_URI = "git://github.com/jfrazelle/netns;branch=master" | 6 | SRC_URI = "git://github.com/jfrazelle/netns;branch=master" |
8 | SRCREV = "2804050eeab661bfa75c3aa06bdcf60273b02ca7" | 7 | SRCREV = "2804050eeab661bfa75c3aa06bdcf60273b02ca7" |
@@ -11,6 +10,7 @@ PV = "0.1.0+git${SRCPV}" | |||
11 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
12 | 11 | ||
13 | inherit go-osarchmap | 12 | inherit go-osarchmap |
13 | inherit go | ||
14 | 14 | ||
15 | do_compile() { | 15 | do_compile() { |
16 | export GOARCH="${TARGET_GOARCH}" | 16 | export GOARCH="${TARGET_GOARCH}" |