I am trying to compile a kernel module using the following command:
make ARCH=arm -C /home/tarek/workspace/FriendlyARM/Kernel/kernel-2.6.13 M=`pwd` modules
but i get errors
Is there any thing wrong I am doing?
Thanks
Compile kernel module
Re: Compile kernel module
you need to specify the cross-compiler. Add this line to yours.
CROSS_COMPILE = /path/to/cross-compiler/arm-linux-
Notes: the cross-compiler is only partial filename ie arm-linux-. The Makefile will add gcc, cpp, etc
CROSS_COMPILE = /path/to/cross-compiler/arm-linux-
Notes: the cross-compiler is only partial filename ie arm-linux-. The Makefile will add gcc, cpp, etc
Who is online
Users browsing this forum: No registered users and 5 guests