Re: Building dependencies in yocto for GO language project


salman.isd@...
 

Solved... I had to add the following to the recipe and then it works.

DEPENDS += "go-dep-native"
 
do_compile_prepend() {
        cd ${WORKDIR}/build/src/${GO_IMPORT}
        dep init
        dep ensure
}

Join yocto@lists.yoctoproject.org to automatically receive all group messages.