On Thu, Feb 16, 2017 at 3:27 AM, Fathi Boudra fathi.boudra@linaro.org wrote:
On 16 February 2017 at 06:12, Denys Dmytriyenko denis@denix.org wrote:
I was wondering if there was a way to apply local patches to toolchain components (gcc, binutils, glibc, etc.) when building with ABE.
The only way I know of right now is to mirror the upstream repository into own git tree, patch it and point ABE to it; or check it out locally, patch it and pass the resulting tarball to ABE build with --disable update flag.
The normal way for tcwg to use abe is to create a git branch, and then point abe at the git branch. This is how gerrit patch reviews work for instance. Presumably only tcwg members can create git branches in the tcwg git tree, but anyone can mirror it in a local git repo and create local branches, which is what I do.
tcwg has no need for abe to support builds with patches in the source tree, so is unlikely to implement this feature. If patch support was added, it should be enabled by an extra option, so that we don't risk accidentally breaking release builds.
Jim