>> > 1. It installs Linaro 6.4.1 tho I already have 7.3.1. Why does this happen?
>>
>> How does it know you have 7.3.1 installed?
>
> I did the first part and get Linaro 7.3.1 instead. Testing with ${CC}gcc succeeded, so I suppose that is the case. Am I doing it wrong?
That was for building u-boot... Currently the kernel build script does
not parse the environment variable CC.. I suppose it "could" with some
patches written, but today NOPE..
So if you want to bypass the pre-choosen compiler you need to open
"system.sh" and see the examples, then correctly add your's..
#ARM GCC CROSS Compiler:
#if CC is not set, a known working linaro based gcc compiler will be
downloaded and utilized.
#CC=<enter full path>/bin/arm-none-eabi-
#CC=<enter full path>/bin/arm-linux-gnueabi-
#CC=<enter full path>/bin/arm-linux-gnueabihf-
It has some error detection, so if you don't properly set the
path/etc, it will just default to the build-in version..