<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Vinoth<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 21, 2016, at 11:23 PM, Eswaran Vinothkumar (BEG-PT/PJ-IOT1) <<a href="mailto:Vinothkumar.Eswaran@de.bosch.com" class="">Vinothkumar.Eswaran@de.bosch.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Hi,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">I am creating a BSP to customized board using Yocto. I have some hundred plus patches for the Linux kernel and barebox. To include the patches for the Linux kernel, I have created an .scc file. In the .scc file I have included all the patches required.The SRC_URI option in the kernel recipe looks like:<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> <span class="Apple-converted-space"> </span></span><span lang="DE" style="font-size: 10pt; font-family: Arial, sans-serif;" class="">SRC_URI += "<a href="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.0.9.tar.xz" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.0.9.tar.xz</a><span class="Apple-converted-space"> </span>\<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="DE" style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> <a href="file:///kernelpatch.scc" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">file://kernelpatch.scc</a><span class="Apple-converted-space"> </span>\<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="DE" style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> <a href="file:///kernel-4.0.9.cfg" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">file://kernel-4.0.9.cfg</a><span class="Apple-converted-space"> </span>\<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="DE" style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">"<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">For the barebox, I tried to do the same, but it seems it doesn't support .scc files. So now I have included all the hundred plus patches using `<a href="file://patchname.patch`" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">file://patchname.patch`</a><span class="Apple-converted-space"> </span> in SRC_URI:<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> <span class="Apple-converted-space"> </span><a href="file://patches/0001-drivers.patch" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">file://patches/0001-drivers.patch</a><span class="Apple-converted-space"> </span>\<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> <span class="Apple-converted-space"> </span><a href="file://patches/0002-hw_random-C.patch" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">file://patches/0002-hw_random-C.patch</a><span class="Apple-converted-space"> </span>\<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> .<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> .<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> .<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> .<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> <span class="Apple-converted-space"> </span><a href="file://patches/0304-usb-fastbootupport.patch" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">file://patches/0304-usb-fastbootupport.patch</a><span class="Apple-converted-space"> </span>\<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">I would like to know is there a better way for adding multiple patches to the SRC_URI ?<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""></span></div></div></div></blockquote><div><br class=""></div><div>Yocto kernel tooling is special for kernel and with some effort it can be extended to other kconfig based packages but I dont think we do that yet.</div><div>so yes the .scc mechanism wont work for non linux-yocto recipes.</div><div><br class=""></div><div>You can append to SRC_URI for bare box recipe directly. e.g.</div><div><br class=""></div><div>SRC_URI += “<a href="file:///one.patch" class="">file://one.patch</a> \</div><div> file:/two.patch \</div><div> ….</div><div> “</div><div><br class=""></div><div>I would also suggest to go through</div><div><br class=""></div><div><a href="http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#system-development-model" class="">http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#system-development-model</a></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="DE" style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Mit freundlichen Grüßen / Best regards<span class="Apple-converted-space"> </span><br class=""><br class=""><b class="">Vinothkumar Eswaran<br class="">BEG-PT/PJ-IOT1<br class=""></b></span><span lang="DE" style="font-size: 8pt; font-family: Arial, sans-serif;" class=""><br class=""><br class=""></span><span lang="DE" class=""><o:p class=""></o:p></span></div></div><span style="font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">yocto mailing list</span><br style="font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:yocto@yoctoproject.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">yocto@yoctoproject.org</a><br style="font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.yoctoproject.org/listinfo/yocto" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Times-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.yoctoproject.org/listinfo/yocto</a></div></blockquote></div><br class=""></div></body></html>