From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Adam T. Bowen" Subject: Re: Linux 2.6 kernel module compilation without using KBUILD Date: Wed, 28 Nov 2007 10:00:24 +0000 Message-ID: <474D3C38.7050803@agitate.org.uk> References: <329179.44630.qm@web36711.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=OfWbXrae3SRUnDVFlkB2T5t8kqp9JsoaCXigL5aezPA=; b=JLBeSkb41qmW5682p4iXxf7NruqsrYx0F6lDXLY5OnJWdcwfktoLe7Baz47o4yzxqIT7gn4JoHXXBktW9CkbZc5qhuLCVD2ytYk3HGueGWLnj8MUvNrtdmTBSLrGDv5U4Dv/bn30F82rhfmVFdPoyTuS1ztlvxmuKsFdbj9vOG4= In-Reply-To: <329179.44630.qm@web36711.mail.mud.yahoo.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Hi, murtuja bharmal wrote: > I want to compile external linux kernel module without > using KBUILD. [snip] > Do we have any document which describe how to make > kernel module without using KBUILD. > > Any pointer of information is very helpful for me. There is a free O'Reilly book on building kernel modules: http://lwn.net/Kernel/LDD3/ And there is also The Linux Kernel Module Programming Guide: http://tldp.org/LDP/lkmpg/2.6/html/lkmpg.html which has a whole section on creating your own makefiles for modules that are not part of the kernel: 2.2. Compiling Kernel Modules. Cheers Adam