I do the all 3.1 Getting Android source code (Android/kernel/U-Boot).
And according to the document 3.2 Patch code for i.MX
Apply all the i.MX Android patches by performing the following steps:
1. Assume you have unzipped the i.MX Android release package to /opt/android_L5.0.0_1.0.0-ga_source .
$ cd ~/myandroid
$ source /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga/and_patch.sh
$ help
The result is as following.
Invoke ". and_patch.sh" from your shell to add following functions to your environment:
-- c_gotop: Changes directory to the top of the tree
-- c_patch: Recover working tree to base version and then applying FSL android patch
It looks incorrect.
Any steps missing?
Thanks.
I also do the following step, and make sure I have permission to access the directory.
2.2 Unpacking the Android release package
After you have set up a computer running Linux OS, unpack the Android release package by using the following commands:
# cd /opt (or any other directory where you placed the android_L5.0.0_1.0.0-ga_core_source.tar.gz file, but make sure you have permission to access that directory;
otherwise, c_patch cannot work properly)
Thanks.