WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: Kernel module compilation

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: Kernel module compilation
From: "David Pilger" <pilger.david@xxxxxxxxx>
Date: Wed, 4 Apr 2007 19:11:41 +0300
Delivery-date: Wed, 04 Apr 2007 09:10:32 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Do0Q34r2M3/MQEeRYbHkW6SuI1t4Ow3tavSrZRVkA8xpbK24QgvH1q3HPIU1Ct/0PoZv0FyMHwA9UQm6Jf9ALBeXlkPtwVwemGKIkeqV8sK7HsbQZNhN1TGI142u7oPNw0Q3BjC6IfEhMbC2MYiaHmTYPSi3z6Gy1jb/4PWJLdk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YNHYgyeD/zj8rqL1focY4TOHxpfDGpwc0tC+wNr9NWCWEDEvYvbVLjo2MoqtPTVm69RM8AW7phxWlyUuaJyvecgnM6Yf6zpgPV28PsT46wTcGwmt9Lv/iZUvRTZO7iIuExYvQExT0g8QvOL+9JZfG3K8PFQumm8g2gmwFy4a1Vs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <280848580703290454o407cf95amdad3741d7bf358e@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <280848580703290454o407cf95amdad3741d7bf358e@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Sorry for the dumb question, but all these compilations are killing me :)
I cd into my modue directory inside linux-2.6.18-xen
and executed - "make -C path/to/kernel/src SUBDIRS=$PWD modules"

The error I get is -
----
/work/xen/linux-2.6.18-xen/scripts/Makefile.modpost:38:
include/config/auto.conf: No such file or directory
make[1]: *** No rule to make target `include/config/auto.conf'.  Stop.
make: *** [modules] Error 2
----

while autoconf.h can be found at the directory -> build-linux-2.6.18-xen_x86...
under include/linux/autoconf.h

Do you know how can I recompile just my single driver?

Thanks in advance,
David.

On 3/29/07, David Pilger <pilger.david@xxxxxxxxx> wrote:
Hello all,
How can I build just a single kernel module from the linux-xen sources.
 for instance, compile just the xen kernel modules directory...

Thanks,
David.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel