* a question about building driver
@ 2010-04-20 9:13 Zhi Li
2010-04-20 16:17 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Zhi Li @ 2010-04-20 9:13 UTC (permalink / raw)
To: linux-kbuild
Hi list,
I'm maintaining a little linux distribution. Sometimes users need to
build specific drivers for their machine. But they do not want the
whole linux kernel source which I used to make my linux distribution,
for they think it eats up too much disk and network bandwith. So, my
question is whether there's a way to give them partial kernel source
to build the needed driver module.
Thanks
Zhi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: a question about building driver
2010-04-20 9:13 a question about building driver Zhi Li
@ 2010-04-20 16:17 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2010-04-20 16:17 UTC (permalink / raw)
To: Zhi Li; +Cc: linux-kbuild
On Tue, 20 Apr 2010 17:13:15 +0800 Zhi Li wrote:
> Hi list,
>
> I'm maintaining a little linux distribution. Sometimes users need to
> build specific drivers for their machine. But they do not want the
> whole linux kernel source which I used to make my linux distribution,
> for they think it eats up too much disk and network bandwith. So, my
> question is whether there's a way to give them partial kernel source
> to build the needed driver module.
We don't support any kind of partial kernel source tree infrastructure per se.
If your distro has a kernel-headers package (or kernel-devel or whatever
you want to call it), you could create source packages of individual drivers
and then use the external (out-of-tree) driver build methodology to build them.
(see Documentation/kbuild/modules.txt)
Building them should be the easy part. Deciding which ones to package for
the users (or packaging hundreds of them) could be a never-ending job.
Or you could look at using something like the SuSE build service:
https://build.opensuse.org/
---
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-20 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20 9:13 a question about building driver Zhi Li
2010-04-20 16:17 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).