I was trying to build a kernel for my android device. I would have used my Linux system for building a kernel but unfortunately it had its hdd failed. So I am now using Windows 10 WSL for building the kernel. I am really new in building kernel and I have a few doubts:
When I tried to use
arm-linux-gnueabihf 4.7
for making clean I got this error:ccache execv 'my toolchain path' execv format error
I tried it with few other toolchains but same error came. Then I used
arm-eabi 4.8
which worked correctly. This solved the problem but I would like to know what the error was and what caused it and is there a fix?How should I know what toolchain I should use for building kernels like some people tell me to use a toolchain some people tell me to use someother toolchain.
When I tried to build the kernel with
arm-eabi 4.8
I got an error/home/inkiluz/kernel/security/tima_uevent/tima_uevent.c:217:1: fatal error: opening dependency file security/tima_uevent/.tima_uevent.o.d: No such file or directory module_exit(tima_uevent_exit); ^ compilation terminated.
Is this a toolchain error or did i do something wrong? How can I rectify this?
Here is the the error log: https://del.dog/diwijegetu.
Please do help me out...