[yocto] New bitbake task dependency

Chris Z. winotu.email at gmail.com
Mon Oct 24 23:55:30 PDT 2016


HI,

Check temp directory for taskorder and check if this task is run. Check if
this task is not omitted by sstatecache mechanism.

P.S.
you have EXPORT_FUNCTIONS for this task ?

On Tue, Oct 25, 2016 at 6:29 AM, Jonathan Poulin <jopoulin at gmail.com> wrote:

> Hello,
>
> I add a new task in my image recipe that inherit of core-image like below :
>
>
> ***************************
>
> do_uimage() {
>     cat ${DEPLOY_DIR_IMAGE}/zImage-imx6d-axion.dtb >>
> ${DEPLOY_DIR_IMAGE}/zImage-initramfs-${MACHINE}.bin
>     mkimage -A arm -O linux -T kernel -C none -a 0x12000000 -e 0x12000000
> -n "Linux Kernel" -d ${DEPLOY_DIR_IMAGE}/zImage-initramfs-${MACHINE}.bin
> ${DEPLOY_DIR_IMAGE}/uImage
>     md5sum ${DEPLOY_DIR_IMAGE}/uImage | cut -d' ' -f1 >
> ${DEPLOY_DIR_IMAGE}/uMD5
> }
>
> addtask do_uimage after do_deploy before do_build
>
> ***************************
>
> The task is run the first time I call  "bitbake prod-image" but for the
> subsequent call the task uimage isn't called. I have to call "bitbake -c
> uimage prod-image" to run it.
>
> How can I make this new task run each time the task do_deploy need to be
> run?
>
> thanks for your help
> Jonathan
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161025/5f00772a/attachment.html>


More information about the yocto mailing list