runc-opencontainers: Drop unnecessary do_compile_prepend

The "vendor/src" symlink is already created in do_compile in runc.inc.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Paul Barker 2017-10-13 19:27:13 +00:00 committed by Bruce Ashfield
parent 123cb0a008
commit 37b2f2f3cc

View File

@ -10,10 +10,3 @@ PROVIDES += "virtual/runc"
RPROVIDES_${PN} = "virtual/runc"
GO_IMPORT = "import"
do_compile_prepend() {
# Go looks in a src directory under any directory in GOPATH but
# runc-opencontainers uses 'vendor' instead of 'vendor/src'. We can fix
# this with a symlink.
ln -sfn . "${S}/src/import/vendor/src"
}