|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Xen build process
Hello, I am a beginner at Xen wishing to understand more about it. I have installed Xen 3.1.0 on debian-etch following this tutorial (http://www.howtoforge.com/debian_etch_xen_3.1). Now I will like to add printks to different source code and recompile to understand better. I dont understand as to the method for doing this.
As per my understanding, when I run make world the very first time, the following happens 1) Compile code within xen and then make xen.gz and copy this to dist/install/boot 2) Download linux-2.6.18.tar.bz2 - expand that to pristine-linux-2.6.18
3) Copy pristine-linux-2.6.18 to ref-linux-2.6.18 and apply patches in ref-linux-2.6.18 from patches/ 4) Copy ref-linux-2.6.18 to linux-2.6.18-xen and apply arch-xen patches to linux-2.6.18-xen 5) makemenuconfig with scripted selections in linux-2.6.18-xen
6) Make the modules using source code in linux-2.6.18-xen and the destination is build-linux-2.6.18-xen_x86_32 7) INSTALL these modules 8) Make vmlinuz 9) Put vmlinuz, config file etc in dist/install/ 10) Compile the xen tools (byte compile any python scripts) in tools/ - install them in correct places in dist/install/
11) Then make install copies from dist/install to the correct places on the system.
a) Is my understanding of the process correct? b) In step 4 the patches - where they are located? c) In step 7 -I think this copies the modules compiled in step 6 into dist/ - is that right?
d) I touched some files in xen/ and ran make again - I saw that those files alone were recompiled in step 1 (steps 2,3,4,5,6 were not executed) e) I touched some files in linux-2.6.18-xen/ - but when I run make again these files were not recompiled in step 6. So then I edited linux-2.6.18-xen/fs/udf/dist.c - included a printf with error in syntax - ran make again. The make process completed without any error. I tried this with a couple of other .h and .c files - same result.
So if I want to make changes to the code - where should I make them - how should I compile it?
Thanks
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] Xen build process,
George Valzcig <=
|
|
|
|
|