All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Compiling the kernel via buildroot
@ 2020-08-13 14:39 Isaac Hazan
  0 siblings, 0 replies; 2+ messages in thread
From: Isaac Hazan @ 2020-08-13 14:39 UTC (permalink / raw)
  To: buildroot

Hi,
I am new on this mailing list. Is this the email for questions
regarding buildroot?
Few questions:
1. When doing a change in the linux kernel, do i have to build the kernel
in the kernel tree and then call buildroot? Or will build root see the
changes and build them automatically?
2. Is this possible to rebuild a single module instead of all modules?

Thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200813/cb13b66e/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Compiling the kernel via buildroot
       [not found] <mailman.8310.1597343819.162353.buildroot@busybox.net>
@ 2020-08-14  5:53 ` Andreas Ziegler
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Ziegler @ 2020-08-14  5:53 UTC (permalink / raw)
  To: buildroot

Hi Isaac,

On 2020-08-13 20:36, buildroot-request at busybox.net wrote:

> I am new on this mailing list. Is this the email for questions
> regarding buildroot?

This mailing list mostly handles development related requests and bug 
reports.

> 1. When doing a change in the linux kernel, do i have to build the 
> kernel
> in the kernel tree and then call buildroot? Or will build root see the
> changes and build them automatically?

The Buildroot workflow will handle the kernel build for you. A single 
change inside a source tree is not detected by Buildroot, you have to 
manually start the kernel rebuild by invoking 'make linux-rebuild', see 
also https://buildroot.org/downloads/manual/manual.html#rebuild-pkg

> 2. Is this possible to rebuild a single module instead of all modules?

If the kernel module is inside the kernel source tree, you will probably 
need to rebuild the whole kernel (that means everything that is 
downstream of your change).

So if you just have a single additional module, consider creating a 
Buildroot package. For examples see one of the Realtek driver packages, 
e.g. package/rtl8188eu. You can find the documentation here: 
https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_packages_building_kernel_modules

Regards,
Andreas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-14  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13 14:39 [Buildroot] Compiling the kernel via buildroot Isaac Hazan
     [not found] <mailman.8310.1597343819.162353.buildroot@busybox.net>
2020-08-14  5:53 ` Andreas Ziegler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.