<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Am 11.02.2013 21:13, schrieb Zoran
      Djordjevic:<br>
    </div>
    <blockquote
      cite="mid:1360613608.96975.YahooMailNeo@web164601.mail.gq1.yahoo.com"
      type="cite">
      <pre wrap="">My question is mostly theoretical, so I will be much obliged if I'll be pointed at some links, although
(as Buildroot user) I am interested in the way I can do things with Buildroot. What I would like to 
know is how can I incorporate some new kernel driver (having it's source) into kernel build? First, where 
should I put it in kernel source tree, then can I compile it independently, without rebuilding whole kernel 
(I imagine modules can do the job)?</pre>
    </blockquote>
    Hello Zoran,<br>
    <br>
    there are some topics not already mentioned by Dimitros' and Grant's
    replies:<br>
    <br>
    * If you put your driver into the kernel tree it has to be GPL<br>
    * Nowadays editing the kernel outside of buildroot and building it
    with buildroot is easy thanks to the source override feature<br>
    * There are some samples of "out-of-kerneltree" drivers in buildroot
    that can be used as a guideline for this, e.g. package/owl-linux/<br>
    <br>
    Reards<br>
    <br>
    Stephan<br>
    <blockquote
      cite="mid:1360613608.96975.YahooMailNeo@web164601.mail.gq1.yahoo.com"
      type="cite">
      <pre wrap="">
How can I compile it as a module or to be more precise, do I write driver in some special way to be a module? 
(I see that Buildroot offers some driver to be choosed for module compiling or to be part of monolitic kernel).
 
Regards
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
buildroot mailing list
<a class="moz-txt-link-abbreviated" href="mailto:buildroot@busybox.net">buildroot@busybox.net</a>
<a class="moz-txt-link-freetext" href="http://lists.busybox.net/mailman/listinfo/buildroot">http://lists.busybox.net/mailman/listinfo/buildroot</a></pre>
    </blockquote>
    <br>
  </body>
</html>