[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Which source directory for make


  • To: jonr@xxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 9 Mar 2007 11:09:30 +0100
  • Delivery-date: Fri, 09 Mar 2007 02:09:04 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcdiMo+s3Nz60Vn0QtaTJf+Vt+AKVwAABl8g
  • Thread-topic: [Xen-users] Which source directory for make

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Jon Reynolds
> Sent: 09 March 2007 10:02
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Which source directory for make
> 
> This is what I have in my xen-unstable.hg diretory I want to 
> do a 'make 
> menuconfig; but I am not sure which linux directory to issue it in.
> 
> Of the 5 that are there I can only find a .config file in the 
> build-linux-2.6.18-xen_x86_32, would this be the one?

That's the "base one", which is copied to your "linux-2.6.18-xen" where
your kernel is built. 

I find the best way to do menuconfig changes is to first do a build,
then do make menuconfig on the kernel (in practice, I always end up
doing so, because I almost always forget to build the right bits, so I
have to add something after I tried to boot the broken kernel... :-( )

Note: "make world" will re-instate the original .config, so don't do
that after you've configured your kernel. If you want to remake
everything, do "make clean all". 

--
Mats
> 
> Thanks for any help,
> 
> Jon
> 
> root@xen2:/usr/local/src/Xen/xen-unstable.hg# ls -l
> total 41028
> -rw-r--r--  1 root root    19355 2007-03-09 15:12 COPYING
> -rw-r--r--  1 root root     2290 2007-03-09 15:12 Config.mk
> -rw-r--r--  1 root root     6562 2007-03-09 15:12 Makefile
> -rw-r--r--  1 root root     7206 2007-03-09 15:12 README
> drwxr-xr-x 20 root root     4096 2007-03-09 17:08 
> build-linux-2.6.18-xen_x86_32/
> drwxr-xr-x  3 root root     4096 2007-03-09 15:12 buildconfigs/
> drwxr-xr-x  2 root root     4096 2007-03-09 15:12 config/
> drwxr-xr-x  4 root root     4096 2007-03-09 16:43 dist/
> drwxr-xr-x  7 root root     4096 2007-03-09 15:12 docs/
> drwxr-xr-x  3 root root     4096 2007-03-09 15:12 extras/
> -rwxr-xr-x  1 root root     1161 2007-03-09 15:12 install.sh*
> drwxr-xr-x 11 root root     4096 2007-03-09 15:12 
> linux-2.6-xen-sparse/
> drwxr-xr-x 19 root root     4096 2007-03-09 17:04 linux-2.6.18-xen/
> -rw-r--r--  1 root root 41863580 2006-09-19 19:56 linux-2.6.18.tar.bz2
> drwxr-xr-x  3 root root     4096 2007-03-09 15:12 patches/
> drwxr-xr-x 19 root root     4096 2007-03-09 15:50 
> pristine-linux-2.6.18/
> drwxr-xr-x 19 root root     4096 2007-03-09 15:50 ref-linux-2.6.18/
> drwxr-xr-x 30 root root     4096 2007-03-09 15:12 tools/
> drwxr-xr-x  3 root root     4096 2007-03-09 15:12 unmodified_drivers/
> drwxr-xr-x  8 root root     4096 2007-03-09 16:44 xen/
> root@xen2:/usr/local/src/Xen/xen-unstable.hg#
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.