Hi.
To build the kernel for nexus one, i can do :
1- get source from git
git clone git://android.git.kernel.org/kernel/common kernel
cd kernel
git checkout -t origin/android-goldfish-2.6.29

2- get config file from nexus one
adb pull /proc/config.gz config.gz

3- add config file to .config to kernel root folder

4- edit and add needed module

5- build it
export ARCH=arm
export CROSS_COMPILE=/path/to/android/source/prebuilt/linux-x86/
toolchain/arm-eabi-4.4.0/bin/arm-eabi-
make oldconfig
make


Is it right?
but now how to upload it to nexus one?

Another question, is it possible to create a package to upload kernel
and android layer in same time?

thanks

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to