I have the source code of a kernel. but i don't know whether the kernel is android kernel or Linux kernel. I have searched about it on google but i haven't found any proper answer. As i know ,android kernel is Linux kernel and some patches applied on it. so i think we can identify the kernel is for Linux or android.
1.Can i know this by seeing the source code, or by running any command or by any other method?
2.if it is android kernel, whether will it able to mount the Ubuntu file system?
BTW the presence of binder does NOT mean it is an Android kernel. The binder exists in the staging directory for all Linux kernels