I'm doing something interesting on the Android kernel, but the kernel from AOSP has problems with certain problems and the kernel won't compile with some options enabled (some stray symbols missing).
So I'm thinking of adding the mainline kernel the same version into the master branch of the AOSP kernel repository.
But the problem is I'm quite a newbie in using git
.
I have no idea what's the routine to achieve this.
I don't need the detailed steps, just the major steps are OK.
EDIT:
I may have not expressed what I meant clearly. I can and have successfully built a kernel with the default options, but some options will cause the build fail.
So I want to try to get patches from the Android kernel tree to apply on vanilla kernel sources hoping that this will fix the problem.