Patch iMX6 "Error! Wrong project type at line 1 of basefile"

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Patch iMX6 "Error! Wrong project type at line 1 of basefile"

875 次查看
armandvignat
Contributor II

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


标签 (3)
标记 (3)
1 回复

606 次查看
zhaozhao
Contributor III

hi Armand

You need to use bash not zsh . Hope this will help