[yocto] New bitbake task dependency
Jonathan Poulin
jopoulin at gmail.com
Mon Oct 24 21:29:47 PDT 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161025/50a283d9/attachment.html>
More information about the yocto
mailing list