Hi,
I've downloaded Android sources. I follow the "5 Get Android Source Code (Android/Kernel/U-Boot)" of the Android User Guide without any problems.
Now I need to patch the code (point 5.1).
The sources folder is in "/home/user/Project/Sources". I unzipped the package imx_android_13.4.1.tar.gz in home/user/imx-android-13.4.1
I did the source command with and_patch.sh, and when I do help I can see the c_patch.
But when I do the "c_patch /home/user/imx-android-13.4.1/code/13.4.1 imx_13.4.1" from my "/home/user/Project/Sources"
I got this :
Parsing basefile /home/ias/imx-android-13.4.1/code/13.4.1/baseversion...
c_patch:[:77: argument expected
c_patch:[:92: too many arguments
c_patch:[:77: argument expected
c_patch:[:92: too many arguments
c_patch:[:77: argument expected
c_patch:[:92: too many arguments
[...]
c_patch:[:77: argument expected
c_patch:[:92: too many arguments
c_patch:[:77: argument expected
c_patch:[:92: too many arguments
c_patch:[:77: argument expected
c_patch:[:92: too many arguments
c_patch:[:77: argument expected
c_patch:[:92: too many arguments
Check work tree and patch dir based on /home/ias/imx-android-13.4.1/code/13.4.1/baseversion...
Checking project - ...
Error! Wrong project type at line 1 of basefile /home/ias/imx-android-13.4.1/code/13.4.1/baseversion