[yocto] extra deploy for image

Dvorkin Dmitry dvorkin at tibbo.com
Wed Mar 23 08:39:03 PDT 2016


Hello, guys!

I'm building the image and getting it in the .../deploy/
together with uImage, DTSes and modules (as separate files).
It's standard recipes behavior.

I need one more extra tool for the host system to build and place into 
..../deploy/
I created a recipe, added
///////////////////////////////////////
inherit deploy

do_deploy() {
}
do_deploy-native() {
  install ${S}/mytool ${DEPLOYDIR}/mytool
}
addtask deploy before do_build after do_compile
BBCLASSEXTEND = "native nativesdk"
//////////////////////////////////
into it's recipe, added

EXTRA_IMAGEDEPENDS += "mytool-native"

into myarch.conf
, build the image successfully. Image recipe (I see it) builds 
mytool-native also, but does not call deploy for it.

Do anybody knows how to deploy mytool-native together with my Linux 
image if mytool.bb is a separate recipe?

Thank you!



More information about the yocto mailing list