[yocto] do_deploy[sstate-inputdirs]
Robert P. J. Day
rpjday at crashcourse.ca
Fri Aug 10 13:16:14 PDT 2012
On Fri, 10 Aug 2012, Jim Rucker wrote:
> I've been trying to figure out why I've had such trouble getting my tmp/deploy/uImage files to
> update after performing a "bitbake -f -c compile virtual/kernel", and I've come across something I I
> don't understand. In deploy.bbclass, we have:
> do_deploy[sstate-inputdirs] = "${DEPLOYDIR}"
>
> However, the only place DEPLOYDIR is ever used is as a install destination within the
> kernel_do_deploy functions. Therefore, from what I can tell, DEPLOYDIR is never updated and
> therefore do_deploy is never called - even if you run "bitbake -f -c deploy virtual/kernel" (note
> that I'm using the 6.0.2 poky release, not top of tree). From what I understand, the best way to fix
> this is to make the following changes:
>
> kernel.bbclass:
> OUTPUTDIR ?= "arch/${ARCH}/boot
> KERNEL_OUTPUT ?= "${OUTPUTDIR}/${KERNEL_IMAGETYPE}
>
> deploy.bblass
> do_deploy[sstate-inputdirs] = "${OUTPUT_DIR}"
> do_deploy[sstate-outputdirs] = "${DEPLOYDIR}
>
> Am I barking up the right or wrong tree here?
i'm sort of sure that what you're after is the "do_uboot_mkimage"
task.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the yocto
mailing list