Today continues our XCI project study, in how to analyze the Xen source article has said to the analysis Linux system this kind of big project first may start from makefile, then xci makefile what is different? Here we will study:
Open the makefile in the Project tree directory, in general, this makefile under the root directory is a total collar file, through which layer contains the call to each directory, subdirectory, corresponding to the makefile, so that layer call down to complete the entire software system compilation.
At the top note you can see:
#Makefile for Buildroot2
and below.
#Just run ' make menuconfig ', configure stuff, and then run ' make '.
This sentence for often compile the kernel of the cheese should be very familiar with, is not it, but above that is some strangers, temporarily first put.
And then navigate to
All:world
Once compiled Xen should be able to understand this is where our dreams started:
All tell the compiler what steps to take to complete, which is the most important place! So looking at a makefile first from its all looks like the C language's main () function. And then analyze from all layers.
Immediately following line of comments:
#In This section, We need. config
If you follow the official online introduction step by step then you must remember the following step:
CP configs/xenclient_config./.config
By the way, our. config is here to see what's Inside:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.