jeudi 18 décembre 2014

[Q] Compiling kernel's tun.ko module topic

16:03






Hello: I'm very new at this. I'm trying to compile tun module for my android kernel.
To do this: I've install Debian 7 on second partition hard disk as a second OS. (I am a Window user).
After that, I've updated my Debian libraries and install SDK tools and NDK toolchains from Developers Android. Also I have the kernel's source for my cell phone kernel from code aurora. I have configured ADB and manage to pull the config.gz of my phone.
I get the cross compiling action and that I need to set a path in bashrc in Debian to set my environment. Here is where I get stuck.
This would be the path in bashrc file, right?:

Code:


PATH=$PATH:~/android/ndk/android-ndk-XX-linux-x86/toolchains/arm-linux-androideabi-XXXXX/prebuilt/linux-x86/bin

But when I'm in /toolchains directory of /android-ndk-r10d-linux-x86 directory I see three directories/folders: arm-linux-androideabi-4.6, arm-linux-androideabi-4.8 and arm-linux-androideabi-4.9.
Which one of the three folders should I set the path?
There are others directories: Image attached. But I don't think the rest of them are meant for my cell phone android kernel.
This is my kernel: Linux localhost 2.6.35.7-perf-CL700532 #1 PREEMPT Wed Nov 2 01:11:19 kst 2011 armv61 GNU/Linux. And my cell phone: Samsung Galaxy Fit GT-S5670L
Any light over this WILL BE VERY MUCH APPRECIATE!!Toolchains directory screenshot






Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 commentaires:

Enregistrer un commentaire

 

© 2013 Mobile Probleme. All rights resevered. Designed by Templateism

Back To Top