With repo synchronization code, you can use a different manifest.xml file replacement to achieve synchronization of different code purposes, here's a note first.
1. First, create a new directory to store the source code and enter:
$ mkdir SRC
$ CD SRC
2. Download the repo tool from the server:
$ git clone git://192.168.1.1/tools/repo.git
At this point, there is a repo folder in the directory, there are repo executable files
3. Initialize the. Repo folder
$./repo/repo Init-u Git://192.168.1.1/branch/manifest.git
At this point, the directory under the hidden. Repo folder, in the. Repo folder, there are several files and directories:
Drwxr-xr-x 3 Ritter Ritter 4096 2012-07-23 15:59 manifests
Drwxr-xr-x 8 Ritter Ritter 4096 2012-07-23 15:34 Manifests.git
lrwxrwxrwx 1 Ritter Ritter 2012-07-23 16:01 manifest.xml-> manifests/default.xml
Drwxr-xr-x 7 Ritter Ritter 4096 2012-07-23 15:38 Repo
Where manifest.xml is a soft link, pointing to Manifests/default.xml
4. Now, manifest.xml the download source information into the src/.repo/manifests/, and add Execute permission:
$ CP manifest.xml src/.repo/manifests/
$ chmod +x Src/.repo/manifests/manifest.xml
Note here that it is possible if the XML filename is not manifest.xml.
5. Then go back to the src/directory and execute:
$./repo/repo init-m Manifest.xml
Using the Repo tool, change the default XML file from Default.xml to Manifest.xml,
6. At this point, and then to the. repo/to see the manifest.xml soft link target, has been replaced by Manifests/manifest.xml:
& Ls-l src/.repo/
Drwxr-xr-x 3 Ritter Ritter 4096 2012-07-23 15:59 manifests
Drwxr-xr-x 8 Ritter Ritter 4096 2012-07-23 15:34 Manifests.git
lrwxrwxrwx 1 Ritter Ritter 2012-07-23 16:01 manifest.xml-> manifests/manifest.xml
Drwxr-xr-x 7 Ritter Ritter 4096 2012-07-23 15:38 Repo
Then, when performing repo sync, the synchronized code is synchronized according to the new copy of Manifest.xml.
By the way, when chooseproduct, you can go to the vendor to view
Choosecombo Select compiled version
At compile time,
1. Compile kernel First
Enter the kernel directory, make kernel.
2. Then the system
In the source root directory, make All-j4
3. Finally, Uboot
Enter the boot directory, make Uboot
CD kernel/; Make all; Cd.. /; Make-j4; CD Boot; Make all; CD kernel/; make telephony;
I need to see makefile.