In order to build and install Yocto for SMA-IMX6, I created a folder and then ran
sudo apt-get install git.
I could not download the source code directly, so I first downloaded the kernel
then downloaded the patch file
After that, I tried to apply the patch to the kernel:
$ git am ../REV-SA01-KERNEL-PATCH-3.14.28-1.0.0/*.patch
But I got this error:
fatal: Not a git repository (or any of the parent directories): .git
How can I solve this? Is there any other method to patch?