Assume you had unzipped i.MX Android release package to /opt/imx-android-r10.3/.
$ cd ~/myandroid
$ . /opt/imx-android-r10.3/code/r10.3/and_patch.sh
$ help
Now you should see "c_patch" function is available for you
Please, notice that you need to type dot space slash, and not dot slash space
Or, you can try it:
$ source /opt/imx-android-r10.3/code/r10.3/and_patch.sh
Assume you had unzipped i.MX Android release package to /opt/imx-android-r10.3/.
$ cd ~/myandroid
$ . /opt/imx-android-r10.3/code/r10.3/and_patch.sh
$ help
Now you should see "c_patch" function is available for you
Please, notice that you need to type dot space slash, and not dot slash space
Or, you can try it:
$ source /opt/imx-android-r10.3/code/r10.3/and_patch.sh