Skip to contentSkip to conversation

extra deploy for image

DISCUSSION Dvorkin Dmitry 1 participant 1 message Mar 23, 2016

lore
Share & tools
lore
#0 lore raw

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!