<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 30, 2015 at 5:54 PM Gedare Bloom <<a href="mailto:gedare@gwu.edu">gedare@gwu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Chris,<br>
<br>
Have we documented how to get custom patches working in RSB?<br>
<br>
I CC'ed Hesham too, since he has done this recently, he might have some advice.<br>
<br></blockquote><div>There were two ways I used to get RSB fetch the patches: 1) An absolute URL to a patch (on Github for example), and I think some gaisler and/or sparc tools do the same, and 2) Place the patch at rtems-tools as Dr. Joel mentioned and refer to it from RSB. <br><br></div><div>I think RTEMS would prefer the second approach to avoid fetching from external sources that might be changed or even the URL might get invalidiated, seizing the whole toolchain build (and IIRC that happened with sparc)<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Gedare<br>
<br>
On Tue, Jun 30, 2015 at 3:24 AM, QIAO YANG <<a href="mailto:yangqiao0505@me.com" target="_blank">yangqiao0505@me.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm now working on moving the graphic libraries from rtems-graphic-tool-kits<br>
> into rsb, based on the existing work for libjpeg and the<br>
> rtems-graphic-tool-kits's buid script.<br>
><br>
> The port of libpng, libtiff, freetype2 can be review on my github:<br>
> <a href="https://github.com/yangqiao/rtems-source-builder/commits/graphics" rel="noreferrer" target="_blank">https://github.com/yangqiao/rtems-source-builder/commits/graphics</a><br>
><br>
> While I've got some problems when trying to add patch for source code.<br>
> As what I've read from other cfg files, we should first "patch add" the<br>
> needed patches, then "patch setup" to apply them. When I try to add the<br>
> patch under source-builder/patches/,  it warned me that the path doesn't<br>
> have a proper protocl such as https, git .... And I've found that some<br>
> patches of gdb ..etc are in rtems-tools and the sb-build retrieve them from<br>
> the git server. How can I add a patch from source-builder/patches/ instead<br>
> of uploading to rtems-tools ? Or maybe I missed something?<br>
><br>
> Thanks in advance<br>
><br>
</blockquote></div></div>