<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I am trying to build multiple uboot images and have them in yocto's deploy directory.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I have created a .bbappend file and added following lines:</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>UBOOT_CONFIG[sd] = "sd_config" </div>
<div>UBOOT_CONFIG[nand] = "nand_config"</div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">Now, I can add "<span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">UBOOT_CONFIG=</span>sd"
or "<span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">UBOOT_CONFIG=</span>emmc" to my local.conf.</p>
<p style="margin-top:0;margin-bottom:0">This works and I get one uboot image based on the added configuration in local.conf</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I tried to use a script that calls bitbake twice. During the second execution of bitbake, it deletes all files that were built previously.</p>
<p style="margin-top:0;margin-bottom:0">Yes, I am using <span>RM_OLD_IMAGE = "1" to clean old images and I want to keep such setting. </span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">How to build both of the uboot images(sd and nand) at once?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">BR,</p>
<p style="margin-top:0;margin-bottom:0">Asfak</p>
</div>
</body>
</html>