How to add an extra project into existing Android operating system source?

I am working on kernel development in AOSP, and the kernel repository that I work on is not a part of the operating system. It has an individual git repository. So when I try to push all AOSP sources into the server, I cannot see the kernel sources there.

How can I add a repository (a project) into existing Android source tree?


I have found the answer at this link, but not exactly what I want.

Then I have pushed the kernel repository as a separate project (without using repo forall -c"git push ...).

  • $ repo forall -c'git push ssh://username@myserver/my-aosp-project/$REPO_PROJECT HEAD:refs/heads/master'
  • $ git push ssh://username@myserver/my-aosp-project/kernel.git HEAD:refs/heads/master
  • And also I have modified manifest.xml file (which is located in the server) by adding this

    <project path="kernel" name="kernel" />
    
    链接地址: http://www.djcxy.com/p/56758.html

    上一篇: 透明Image3D有时是不透明的

    下一篇: 如何将额外的项目添加到现有的Android操作系统源?