mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Madhav Bhamidipati" <madhavb@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Question on compiling a kernel Module
Date: Fri, 15 Sep 2006 15:32:06 +0530	[thread overview]
Message-ID: <50b2ce660609150302s4f3de2afwf573b40f02a8d111@mail.gmail.com> (raw)

Hello,


I have the following source tree, objective is to get a single kernel
module.ko object.


module/
module/sub-module1
module/sub-module2
module/include
module/objs/


module folder has a Makefile, it may or may not have *.c files, it
invokes sub-* Makefiles
which build respective objects, these objects need to go into objs
folder, finally makefile in 'objs'
builds the module.ko linking all sub-module *.o.

I could not find much information for my requirement in the file
linux/Documentation/kbuild/makefiles.txt

any information with an example for my requirement is greatly
appreciated. Also let me know
how do I expose module/include in sub-module/ c files, looks like
-I../include is not working

-Madhav

             reply	other threads:[~2006-09-15 10:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-15 10:02 Madhav Bhamidipati [this message]
2006-09-15 10:10 ` Jan Engelhardt
2006-09-15 10:20   ` Alexey Dobriyan
2006-09-17 18:24 ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50b2ce660609150302s4f3de2afwf573b40f02a8d111@mail.gmail.com \
    --to=madhavb@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®