<div dir="ltr">In addition to what Martin suggested they might also consider storing their code in a separate repository and pulling it in as a git submodule into the coreboot/3rdparty/ directory. What's best for them depends on their use case, like if they're mostly adding new files with an API or modifying existing files.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 1, 2018 at 12:26 PM, Martin Roth <span dir="ltr"><<a href="mailto:gaumless@gmail.com" target="_blank">gaumless@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">coreboot uses the site-local directory to allow users to extend the coreboot build outside of the regular coreboot coreboot files.<div>Create the coreboot/site-local directory, and add Makefile.inc and Kconfig files.  Both of these files will get picked up by coreboot.</div><div><br></div><div>To run steps at the start of the build, you can create a target that does whatever is needed, then calls the 'all:' target to do the build.<br></div><div>At the end of the build, you can hook into the 'build_complete::' target to run whatever finalization steps are needed.</div><div><br></div><div>Martin<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Feb 1, 2018 at 10:53 AM, Jay Talbott <span dir="ltr"><<a href="mailto:JayTalbott@sysproconsulting.com" target="_blank">JayTalbott@sysproconsulting.<wbr>com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div lang="EN-US" link="blue" vlink="purple"><div class="m_5356516710092198682m_-3432168082251277490WordSection1"><p class="MsoNormal">I got this question from a client yesterday that I didn’t know how to answer because I focus primarily on the porting effort (getting coreboot to build and boot for their hardware) and let the client figure out how they want to manage the resulting code base once the porting effort is complete. So I offered to inquire of the coreboot community to see if anybody can provide an answer for my client.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Below is the inquiry that I received:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’m looking at how best to structure our coreboot repositories.  Does the coreboot build system support the concept of external patches? With buildroot you can keep your changes is a directory tree separate from the FOSS tree. Then during the build step your patches get applied and compiled using another separate build tree.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">- Jay<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Jay Talbott<br>Principal Consulting Engineer<br>SysPro Consulting, LLC<br>3057 E. Muirfield St.<br>Gilbert, AZ 85298<br><a href="tel:(480)%20704-8045" value="+14807048045" target="_blank">(480) 704-8045</a><br><a href="tel:(480)%20445-9895" value="+14804459895" target="_blank">(480) 445-9895</a> (FAX)<br><a href="mailto:JayTalbott@sysproconsulting.com" target="_blank"><span style="color:blue">JayTalbott@sysproconsulting.co<wbr>m</span></a><u></u><u></u></p><p class="MsoNormal"><a href="http://www.sysproconsulting.com/" target="_blank"><span style="color:blue">http://www.sysproconsulting.co<wbr>m</span></a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br></div></div><span class="HOEnZb"><font color="#888888">--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/mail<wbr>man/listinfo/coreboot</a><br></font></span></blockquote></div><br></div>
<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br></blockquote></div><br></div>