mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
docker-distribution: adjust to new go.bbclass
We want to build in ${S}, so we now require an explicit cd ${S} to avoid landing in the build directory. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
1d9e1bd99d
commit
a83bc2b936
|
@ -13,6 +13,8 @@ PACKAGES =+ "docker-registry"
|
|||
PV = "v2.6.2"
|
||||
S = "${WORKDIR}/git/src/github.com/docker/distribution"
|
||||
|
||||
GO_IMPORT = "import"
|
||||
|
||||
inherit goarch
|
||||
inherit go
|
||||
|
||||
|
@ -33,6 +35,8 @@ do_compile() {
|
|||
export GO_GCFLAGS=""
|
||||
export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
|
||||
|
||||
cd ${S}
|
||||
|
||||
oe_runmake binaries
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user