All of lore.kernel.org
 help / color / mirror / Atom feed
From: murtuja bharmal <murtuja_bharmal@yahoo.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kernel@vger.kernel.org,
	linux-kbuild <linux-kbuild@vger.kernel.org>
Subject: Re: Linux 2.6 kernel module compilation without using KBUILD
Date: Wed, 28 Nov 2007 01:53:31 -0800 (PST)	[thread overview]
Message-ID: <180651.51647.qm@web36715.mail.mud.yahoo.com> (raw)
In-Reply-To: <20071128090046.GA15067@uranus.ravnborg.org>


--- Sam Ravnborg <sam@ravnborg.org> wrote:

> On Wed, Nov 28, 2007 at 12:09:51AM -0800, murtuja
> bharmal wrote:
> > Hello All,
> >    
> > I want to compile external linux kernel module
> without
> > using KBUILD.
> ...
> > Do we have any document which describe how to make
> > kernel module without using KBUILD.
> 
> No.
> Becasue building kernel modules without using kbuild
> is highly 
> discouraged and vulnerable for all sort of config
> related issues.
> As a simple example the module may become unuseable
> if just one
> change is made to the configuration because this
> changes
> the parameters passed to gcc which again affects the
> code
> being built.
> 
> Can you try to enlighting why you want to avoid
> kbuild.
> If you have a specific problem then maybe kbuild
> already can
> do what you need.
> 
> 	Sam
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
Hello Sam,

My intention is  to just understand whole  
process of making kernel module.
Actually I am working on one project in which I have
to port lots of 2.4 kernel module in 2.6 kernel.
So I thought lets first try to understand, what is
going behind KBUILD.
I also gone through  linux/Documentation/kbuild/ but
didn't get very much information.
Even after running it on Verbose Mode, I am not very
much clear.

Thanks
Murtuja Bharmal
    


      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

  reply	other threads:[~2007-11-28  9:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28  8:09 Linux 2.6 kernel module compilation without using KBUILD murtuja bharmal
2007-11-28  9:00 ` Sam Ravnborg
2007-11-28  9:53   ` murtuja bharmal [this message]
2007-11-28  9:56     ` Robert P. J. Day
2007-11-28 10:40       ` murtuja bharmal
2007-11-28 10:59     ` Sam Ravnborg
  -- strict thread matches above, loose matches on Subject: below --
2007-11-28  6:11 murtuja bharmal
2007-11-28 10:00 ` Adam T. Bowen

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=180651.51647.qm@web36715.mail.mud.yahoo.com \
    --to=murtuja_bharmal@yahoo.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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 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.