error while compiling linux kernel source for android
I have downloaded the Linux Kernel Source and trying to build Linux kernel for android emulator. Now I get error while compiling the Linux Kernel Source, here I use cross-compiling tool-chain that is downloaded with android source.
When I try this:
ARCH=arm CROSS_COMPILE=~/mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- make
I get the following error:
root@ubuntu:~# ARCH=arm CROSS_COMPILE=~/mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- make
make: *** No targets specified and no makefile found. Stop.
i am following the instructions from http://linuxclues.blogspot.com/2010/...l-android.html
so, What is the error, or do I have to execute this in some other directory?
Please help. Thank you!
Ithink you're running emulater? This is in the link you provided.
if also i close the emulator, same error appears...
there must be some problem with make files, i am not able to find where this make file is and how to get this done.
Why is this marked "[SOLVED]"? -- Your last post sounds like you are still looking for an answer.
now there is problem with some files when i "make". most of the things are done, the last error is
SYMLINK include/asm -> include/asm-x86
drivers/rtc/alarm.c:16: fatal error: asm/mach/time.h: No such file or directory
make: *** [drivers/rtc/alarm.o] Error 1
make: *** [drivers/rtc] Error 2
make: *** [drivers] Error 2
and i am still finding, how to resolve this...
anyways, thankyou very much...!!!
Well this is resolved too...!! i found this link
Can I use this way to compile a kernel in which I added new codes?
|All times are GMT -5. The time now is 11:26 PM.|