Thanks for your reply.

Since the kernel folder lies inside  a folder of the android build
system tree, I think there should be a Android.mk for it to integrate
into the build system as all in one development process flow.

I setup the . build/envsetup.sh and confugre the target setting (such
as lunch 1), and enter the folder of kernel, then I type make. It is
building for x86 arch, but not default to arm arch.

I just don't want to setup another cross compiler for the kernel
build, and hopefully the android build system will also take care for
the android's linux kernel as well.

Any idea?

Thanks


On 2月17日, 上午12時01分, kmatzen <[email protected]> wrote:
> You can build it the same way as any Linux kernel.  If building for
> the dev 1 then get the .config from the phone itself.  If building for
> the emulator, switch to the kernel-goldfish-2.6.27 branch and run
> 'make goldfish_defconfig' to get the correct .config.  Finally, run
> 'make'.
>
> The question I have is, where do you place the zImage and vmlinux when
> building the Android software stack?  Right now I'm overwriting kernel-
> qemu and vmlinux-qemu in the prebuilt directory.  The modification
> that I made to the kernel was adding a character device.  However,
> this character device does not appear in /dev.  Any ideas?
>
> On Feb 15, 11:57 pm, "chin...@tw-roc" <[email protected]> wrote:
>
> > Hello
>
> > There is no android.mk in kernel folder of andoid platform source
> > codes, so I could not use "mm" to build the whole folder. I am
> > wondering if any script for android build system to build Android's
> > linux kernel?
>
> > Thanks
>
> > Chinlin
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to