[meta-ti] How to create multiple uboot images in one recipe

Asfak Rahman asfak.rahman at outlook.com
Mon Jun 25 04:43:11 PDT 2018


Hi,


I am trying to build multiple uboot images and have them in yocto's deploy directory.


I have created a .bbappend file and added following lines:

UBOOT_CONFIG[sd] = "sd_config"
UBOOT_CONFIG[nand] = "nand_config"


Now, I can add "UBOOT_CONFIG=sd" or "UBOOT_CONFIG=emmc" to my local.conf.

This works and I get one uboot image based on the added configuration in local.conf


I tried to use a script that calls bitbake twice. During the second execution of bitbake, it deletes all files that were built previously.

Yes, I am using  RM_OLD_IMAGE = "1" to clean old images and I want to keep such setting.


How to build both of the uboot images(sd and nand) at once?


BR,

Asfak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20180625/9193600c/attachment.html>


More information about the meta-ti mailing list