Aliens

AOSP Repo及其manifest.xml简介

May 21, 2021

manifest.xml demo

示例1:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <remote name="github" fetch="https://github.com"/>
  <remote name="qcom" fetch="https://source.codeaurora.org/quic/la"/>
  <default revision="master" remote="github"/>

  <project name="raspberrypi/linux" path="rpi-linux-4.19" revision="rpi-4.19.y"/>
  <project name="raspberrypi/linux" path="rpi-linux-5.4" revision="rpi-5.4.y"/>
  <project name="torvalds/linux" path="torvalds-linux-latest" revision="master"/>
  <project name="MiCode/Xiaomi_Kernel_OpenSource" path="xiaomi-kernel-k20pro" revision="cepheus-q-oss"/>

  <!-- qcom -->
  <project name="kernel/msm-4.19" path="msm-4.19" remote="qcom" revision="aosp-new/android-4.19-stable"/>

  <!-- <project name="openwrt-custom" path="custom"> -->
	  <!-- <linkfile dest="build.sh" src="build.sh"/> -->
  <!-- </project> -->
</manifest>

示例2:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <remote name="origin" fetch="https://github.com"/>
  <default revision="r2s" remote="origin"/>

  <project name="openwrt/openwrt" path="openwrt-dev" revision="openwrt-21.02"/>
  <project name="lingjiehao/openwrt-custom" path="custom">
	  <linkfile dest="build.sh" src="build.sh"/>
  </project>
</manifest>