http://androidcore.com/android-programming-tutorials/221.html I confirmed the
following procedure only on my linux host (FC8). Sorry for Windows and
Mac users.
4. Get the config.gz from the running emulator by the following way.
5. Decommpress the config.gz and rename it as .config
6. Specify CROSS_COMPILE in the Makefile.
7. Comment out LDFLAGS_BUILD_ID[*1] in the same Makefile.
8. Make the kernel
9. Check zImage is created and the size is nearly same as the kernel-qemu in the Andorid SDK.
10. Run emulator with the created kernel.
$ emulator -kernel arch/arm/boot/zImage [*1]: The LDFLAGS_BUILD_ID enables --build-id option of ld if available. The --build-id option is relatively new. The current emulator does not seem to support the kernel linked with this option. See here if you are interested in the detail of this option.
|