ODROID-A4
Path Configuration in .bashrc
USERNAME=host PATH=/home/$USERNAME/android/arm-2011.09/bin:/home/$USERNAME/android/android-sdk/android-sdk_r18-linux/platform-tools:${PATH} export PATH export CROSS_COMPILE=arm-none-eabi- export ARCH=arm
Check out the code from the SVN. Take note of the "." which refers to local folder.
# svn checkout http://localhost/repos/kernel/branches/SPI_Kernel .
Use the default working configuration from vendor.
# make ARCH=arm odroid_a4_defconfig
Make changes to the kernel if required.
# make menuconfig
Let's start compile !
# make ARCH=arm CROSS_COMPILE=arm-none-eabi-
When the path is configured, just run "make" to compile the whole kernel.
# make
Setup the Ctags to navigate the kernel source [One time for each development]
#vi ~/.vimrc
#:set tags=/home/host/android/kernel/tags
Run Ctags to index the entire kernel in the kernel directory
# ctag -R
Jump to the tag under the cursor:
Ctrl+]
or :ta
Return from current tag to most recent jumping-off point:
Ctrl+t
or :po