I have not personally tried it, but please see if this is helpful: http://devtcg.blogspot.com/2009/03/building-running-and-debugging-android.html
On Sep 28, 4:55 am, nature <nature.space.m...@gmail.com> wrote: > "1> CROSS_COMPILE = /home/nature/Software/arm-2009q1/arm-none-linux- > gnueabi-" > is wrong.It should be "1> CROSS_COMPILE = /home/nature/Software/ > arm-2009q1/bin/arm-none-linux-gnueabi-" .But the question also > exists.Nothing outputs. > On 9月28日, 下午5时37分, nature <nature.space.m...@gmail.com> wrote: > > > > > My platform: CentOS 5.3 > > compilor: arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux- > > gnu.tar.bz2 > > android sdk 1.5 jdk1.6 > > elipse 3.4 > > directory: > > /home/nature/Software/arm-2009q1(untar the packege directory) > > /home/nature/Program/common > > /home/nature/Software/android-sdk-linux_x86-1.5_r1 > > > 1, get the kernel: git clone > > git://android.git.kernel.org/kernel/common.git > > 3, yum update > > 2, I check the tools according the kernel/Documentation/Changes > > install the missed software. > > 3, $emulator -avd myavd1.5(my avd name is myavd1.5) //running the > > emulator > > $cd /home/nature/Program/common > > $adb pull /proc/config.gz . > > $gunzip config.gz > > $mv config .config > > $gedit Makefile > > > change two points: > > > 1> CROSS_COMPILE = /home/nature/Software/arm-2009q1/arm-none-linux- > > gnueabi- > > > 2> LDFLAGS_BUILD_ID = > > #LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\ > > # $(call ld-option, -Wl$(comma)--build-id,)) > > > exit the gedit back in the old terminal. > > $export PATH=$PATH:/home/nature/Software/arm-2009q1/bin > > $export ARCH=arm > > $make oldconfig > > List some options. All are default. > > $make > > Produce the zImage in the common/arch/arm/boot/ > > In the compile, no error output. > > $emulator @myavd1.5 -kernel /home/nature/Program/common/arch/arm/boot/ > > zImage > > > Nothing output. > > > In the another terminal > > #ps -a > > PID TTY TIME CMD > > 5242 pts/1 00:00:00 su > > 5246 pts/1 00:00:00 bash > > 20676 pts/2 00:00:04 emulator > > 20681 pts/2 00:00:00 java <defunct> > > 20697 pts/1 00:00:00 ps > > > I don't know why is it? > > who can help me?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---