kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* samples driver is not compiling and building at present dir ".ko" file
@ 2015-08-21  7:25 ravi ranjan Mishra
  2015-08-21  7:29 ` Daniel Baluta
  0 siblings, 1 reply; 2+ messages in thread
From: ravi ranjan Mishra @ 2015-08-21  7:25 UTC (permalink / raw)
  To: kernelnewbies

Hi,

Just for learning purpose , i need to compile the sample directory in
mainline kernel .
can anybody tell to how build samples directory through make.

Thanks,
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150821/160733a0/attachment-0001.html 

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

* samples driver is not compiling and building at present dir ".ko" file
  2015-08-21  7:25 samples driver is not compiling and building at present dir ".ko" file ravi ranjan Mishra
@ 2015-08-21  7:29 ` Daniel Baluta
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Baluta @ 2015-08-21  7:29 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Aug 21, 2015 at 10:25 AM, ravi ranjan Mishra
<raviranjanmishra24@gmail.com> wrote:
> Hi,
>
> Just for learning purpose , i need to compile the sample directory in
> mainline kernel .
> can anybody tell to how build samples directory through make.

Use:

$ make menuconfig,

to select CONFIG_SAMPLES=y, then
in the root of your kernel sources run:

$ make samples/

thanks,
Daniel.

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

end of thread, other threads:[~2015-08-21  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-21  7:25 samples driver is not compiling and building at present dir ".ko" file ravi ranjan Mishra
2015-08-21  7:29 ` Daniel Baluta

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