RFC Add support for specifying a custom kernel directory
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [RFC 0/2] Add support for specifying a custom kernel directory
Hi,
Quoted 11 lines · Yann E. MORIN
Florian, All,
On 2017-10-28 19:06 -0700, Florian Fainelli spake thusly:
Quoted 3 lines
This series allows specifying a custom kernel directory which could be an existing git tree. This is particularly useful when doing kernel development and having an existing git checkout where development is happening.
As I replied to the patch itself: this is already covered by the opverride-srcdir mechanism, so I've marked this series as rejected in our patchwork.
Quoted 6 lines
Quoted 2 lines
Ideally, I would like to avoid doing the rsync operation involved with the "local" method and instead just have a symbolic link from /path/to/kernel -> output/build/linux.
The first rsync may take a few seconds, true, but subs=equent ones will be much faster if all you do is change a few files, especially on a hot directory, so there is not much gain to have with a local symlink.
It is more about not duplicating sources unnecessarily. If you have all developers on your system do the same thing, you would end-up with a lot of copies of the same files, and if your filesystem does not already offer de-duplication, that becomes additional space used. The copy aspect is also potentially an issue since Linux kernel sources are significant enough this can become a concern over time.
Quoted 5 lines
OTOH, I am currently working on out-of-tree per-pacakge build, which will (eventually) allow us to make use of the O= mechanism to build the kernel out-of-tree, and get rid of the rsync altogether. Don't hold your breath, though. ;-)
OK, that's good to hear. Feel free to CC when you get there and I will happily try to test that too.
Thanks!
Signature · 1 line
Florian