On May 2, 3:06 am, adam <[email protected]> wrote:
> Chih,
>
> In AndroidBoard.mk there is a variable that will point to where the
> built kernel would be located, example from eee_701,
>
> ifeq ($(TARGET_PREBUILT_KERNEL),)
> TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
> endif
>
> you could put another environment variable check here, and if that
> variable exists, such as: TARGET_KERNEL_REBUILD=true
> you could call the shell to run make in the linux kernel source tree.
> After that you would want to update the TARGET_PREBUILT_KERNEL, and
> let everything go along its way. That should be the cheap and easy
> solution, I have not done this my self, I am new to the android source
> so any other suggestions are more then welcome. This is a question I
> was asking my self, currently I just build the linux source from
> running make inside of the source try by hand.
>
> Kind Regards
>
> On Apr 23, 6:58 pm, Chih-Wei <[email protected]> wrote:
>
> > Hi,
> > I just realized the 'make' command in the android tree doesn't rebuild
> > the kernel binary from source.
> > Instead, it just uses the prebuilt image from the prebuilt/ directory.
> > So if I want to use a customized kernel, I have to compile the image
> > in the kernel/ directory,
> > and copy the generated kernel image to the prebuilt/ directory myself.
> > Am I right?
> > However, I still don't know how to add a customized module.
> > Is there any guide for it?
> > Thanks!

Does it mean that the pre-built image is not built of current linux
kernel?
Also I don't see the goldfish_defconfig anymore in the configs dir.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to