mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00
yq: drop uneeded do_compile_prepend
remove the do_compile:prepend(). It is not needed and removing it allows yq to be built after devtooling it. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
1c98d66d20
commit
428af39f51
|
@ -84,24 +84,10 @@ SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=h
|
|||
PV = "4.45.1+git"
|
||||
|
||||
GO_IMPORT = "github.com/mikefarah/yq"
|
||||
export GO111MODULE = "off"
|
||||
|
||||
inherit go ptest
|
||||
|
||||
do_compile:prepend() {
|
||||
# arrange for some of the golang built ins to be found
|
||||
(
|
||||
cd ${WORKDIR}/build/src/
|
||||
ln -sf ${STAGING_DIR_TARGET}/${prefix}/lib/go/src/cmd/vendor/golang.org .
|
||||
|
||||
cd ${WORKDIR}/build/
|
||||
ln -sf ${UNPACKDIR}/build/vendor .
|
||||
)
|
||||
|
||||
# arrange for the fetched dependencies to be found
|
||||
export GOPATH="${GOPATH}:${WORKDIR}/build/vendor/"
|
||||
export GO111MODULE=off
|
||||
}
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -r ${S}/src/${GO_IMPORT}/scripts/* ${D}${PTEST_PATH}/tests
|
||||
|
|
Loading…
Reference in New Issue
Block a user