Help with linaro on Nexus 7 - Android Q&A, Help & Troubleshooting

Would someone be able to help me out and tell me how to build with linaro? I have already synced rasbean and compiled it successfully and now I would like to add linaro.
I followed these instructions https://wiki.linaro.org/Platform/Android/BuildSource
I am stuck at "BUILD USING LINARO-ANDROID TOOLCHAIN IN CURRENT BUILDS" with the make command

Related

Request linaro 4.7.1 toolchain CM9

I invite all community members with experience in compilation, testing with Linaro 4.7.1 toolchain,
know that the previous version and instability caused incopatibilidad CM9, but I think the new Linaro 4.7.1 toolchain is compatible,
Here is a link as a reference for a dev to compile your kernel and CM9, and works great.
http://forum.xda-developers.com/showthread.php?t=1630023
I think this may be possible, those who support this project by CM9 rom faster and have the benefits Linaro.​
LINARO INFORMATION​
Kernels can be compiled with Linaro toolchain, really nothing new. CM9 source code needs to be modified to compile with Linaro, IMO it isn't worth it. Also, why in the hell do we need any OpenWRT-related Linaro patch?

[Q] Compiling CM11 kernel with seperate toolchain

HI, I'm trying to compile cyanogen's kernel for mako
however with the compiler I used to compile AOSP sources, cm won't compile without modification to source code.
Can anyone tell the toolchain used by CM for it's releases so I can do a successful complication without source code modification?
Anyone willing to tell the toolchain?

Do I Need To Put The Toolchain On My PATH?

Whilst compiling Cyanogenmod I got this error:
Code:
ccache: FATAL: Could not find compiler "arm-eabi-gcc" in PATH.
Based on the manifest
https://github.com/LineageOS/android/blob/cm-12.1/default.xml#L542
the compiler is platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8
from
https://android.googlesource.com/pl...inux-x86/arm/arm-eabi-4.8/+/android-5.1.1_r37
If I add that full path to my PATH variable I can compile the ROM successfully.
However, that seems wrong to me.
The compiler is already part of the source tree.
Shouldn't something in one of the make files or build scripts be setting this rather than me setting it manually?
Note: I am not using a custom toolchain, it is the standard one from aosp.
opticyclic said:
Whilst compiling Cyanogenmod I got this error:
Code:
ccache: FATAL: Could not find compiler "arm-eabi-gcc" in PATH.
Based on the manifest
https://github.com/LineageOS/android/blob/cm-12.1/default.xml#L542
the compiler is platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8
from
https://android.googlesource.com/pl...inux-x86/arm/arm-eabi-4.8/+/android-5.1.1_r37
If I add that full path to my PATH variable I can compile the ROM successfully.
However, that seems wrong to me.
The compiler is already part of the source tree.
Shouldn't something in one of the make files or build scripts be setting this rather than me setting it manually?
Note: I am not using a custom toolchain, it is the standard one from aosp.
Click to expand...
Click to collapse
Toolchains aren't automatically set, at least for now. Possible causes being...
There are multiple versions of Toolchain that are synced together, and it isn't necessary that the newer version of the same toolchain "must" compile the code with success, which was properly compiled by an older version.
Also, by this, the developer has complete freedom to change the ROM/Kernel toolchain.
Coming to the Question in Thread Title, If you're building a ROM, then toolchain has to be added in PATH
Arvind7352 said:
Toolchains aren't automatically set, at least for now. Possible causes being...
There are multiple versions of Toolchain that are synced together, and it isn't necessary that the newer version of the same toolchain "must" compile the code with success, which was properly compiled by an older version.
Also, by this, the developer has complete freedom to change the ROM/Kernel toolchain.
Coming to the Question in Thread Title, If you're building a ROM, then toolchain has to be added in PATH
Click to expand...
Click to collapse
Thanks for clarifying.
Ideally it should scan the source tree for the compiler by default so it has something to fall back to in case a custom one is not specified.
What confused me is that I don't see this nugget of information specified in any of the guides I read about compiling ROMs.

Building linux kernel for AOSP for Nexus 6

I have been following the instructions for building a linux kernel for the AOSP for Nexus 6. I get to the point where I need to checkout a git version (git checkout < some branch >) and it is not clear which one. I checked out android-7.1.2_r0.20, but there is no shamu_defconfig in that view. Any help is appreciated.
Thx,
Y-

Problem with kernel building from source

Can someone help me figure out how to compile this kernel for alcatel pop 4 (5051)
https://sourceforge.net/projects/alcatel/files/OT_5051X_20160907.tar.xz/download
I tried with google toolchain (arm-eabi-) and with google NDK precompiled toolchain (arm-linux-androideabi-).
I also tried different defconfigs (msm8909[nothing, black screen],msm8909-1gb[only alcatel logo],msm8909w[only logo],pop45C[only logo],pop45C-mini[only logo],pop45C-user[only logo], pop45 and pop455C failed to compile).
I followed instructions from https://forum.xda-developers.com/an...erence-how-to-compile-android-kernel-t3627297
Please help.

Categories

Resources