Hey there,

I'm having some trouble with build numbers and getting them to match up 
when building the Nexus 6 Shamu kernel.

*For example:*
I run the following command on the Nexus 6 device to identify the build 
number and GCC version.

*Input:*

adb shell cat /proc/version

*Output:*

Linux version 3.10.40-g57ab30e ([email protected]) 
(gcc version 4.8 (GCC) ) #1 SMP PREEMPT Thu Dec 8 04:23:22 UTC 2016


I then check out the build 57ab30e as per the guidelines : 
http://source.android.com/source/building-kernels.html 

e.g.

git clone https://android.googlesource.com/kernel/msm

cd msm

*git checkout* 57ab30e


Using Git I get the Standalone Toolchain as identified.

git clone 
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8


*and make sure the toolchain is added to the PATH.*

Next I prepare the environment variables for kernel build :


export ARCH=arm


export SUBARCH=arm


export CROSS_COMPILE=arm-eabi-

and run 
make shamu_defconfig 


gedit .config to add the following lines:

CONFIG_MODULES=y

CONFIG_MODULE_UNLOAD=y

CONFIG_MODULE_FORCE_UNLOAD=y


Next I run 

make - j5 


The resulting kernel build number when I check it does not match that of 
the build number I chose to build out.  


Has anyone any ideas why this is happening ?


It is to do with the issue of Unified Headers in the NDKs - toolchains as 
per:

https://android.googlesource.com/platform/ndk/+/master/docs/UnifiedHeaders.md


Thank you.








-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to