Skip to content

RFC Add support for specifying a custom kernel directory

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am 20171029073312.GB2899@scaer

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2linux: Add support for specifying a custom directory+0 -02 replies
2/2linux: Add support for specifying a custom directory+0 -01 reply
2/2linux: Add support for specifying a custom directory+0 -02 replies
2/2linux: Add support for specifying a custom directory+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [RFC 0/2] Add support for specifying a custom kernel directory

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 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.

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. ;-)

Regards,
Yann E. MORIN.

Quoted 19 lines

Comments welcome!

Florian Fainelli (2):
pkg-generic: Don't check for trailing slashes for local method
linux: Add support for specifying a custom directory

 linux/Config.in                        | 10 ++++++++++
 linux/linux.mk                         |  3 +++
 package/linux-headers/linux-headers.mk |  5 +++++
 package/pkg-generic.mk                 |  2 ++
 4 files changed, 20 insertions(+)
Signature · 6 lines
2.7.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'